Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General: Track token usage of LLM service requests #9455

Merged
merged 34 commits into from
Oct 23, 2024

Added return statements to handleStatusUpdate methods

5a2e92a
Select commit
Loading
Failed to load commit list.
Merged

General: Track token usage of LLM service requests #9455

Added return statements to handleStatusUpdate methods
5a2e92a
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded Oct 23, 2024 in 0s

Your pull request is up to standards!

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- src/main/java/de/tum/cit/aet/artemis/core/domain/LLMTokenUsageTrace.java  1
- src/main/java/de/tum/cit/aet/artemis/core/domain/LLMTokenUsageRequest.java  1
- src/test/java/de/tum/cit/aet/artemis/iris/IrisChatTokenTrackingIntegrationTest.java  2
- src/main/java/de/tum/cit/aet/artemis/core/service/LLMTokenUsageService.java  1
- src/main/java/de/tum/cit/aet/artemis/iris/service/IrisCompetencyGenerationService.java  2
         

See the complete overview on Codacy