2 Commits
Author SHA1 Message Date
Swifty e769312bac [AGPT-582] Add cost caculations (#146)
* Add costs command to retrieve and display cost analytics

* Update imports in compile.py

* Fix import issue in compile.py

* Remove unnecessary code in compile.py

* Refactor compile.py: Format code and import statements

* Refactor code to use async/await for CodeValidator
2024-03-25 16:55:05 +01:00
Swifty b19c426946 [AGPT-547] Systematic prompt template perfomance tool (#144)
* Update Interview and LLMCallAttempt models

* Refactor LLMCallAttempt model

* Refactor code and update logging IDs

* Refactor AIBlock class and handle exception in start_interview

* Add template analytics

* Refactor analytics.py to use get_template_performance() instead of load_data()

* Add migration lock file and analytics functionality

* Pr coments

* Add model field to AIBlock and LLMCallTemplate
2024-03-22 10:58:28 +01:00