-
Notifications
You must be signed in to change notification settings - Fork 193
[prompt] [integration-tests] Fix intput/output token counts for OpenAILLMClient #370
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
Conversation
…to integration tests
Do these changes with |
Qodana for JVM133 new problems were found
@@ Code coverage @@
+ 53% total lines covered
5905 lines analyzed, 3168 lines covered
# Calculated according to the filters of your coverage tool ☁️ View the detailed Qodana report Detected 116 dependenciesThird-party software listThis page lists the third-party software dependencies used in koog-agents
Contact Qodana teamContact us at [email protected]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you!
...penai-client/src/commonMain/kotlin/ai/koog/prompt/executor/clients/openai/OpenAILLMClient.kt
Outdated
Show resolved
Hide resolved
This does not affect current approaches, they would still work, but it's still a good idea to mention this option there too, thanks |
Fix input/output tokens in
OpenAILLMClient
. Add check for tokens count in integration tests. Also applied credentials resolver plugin in integration tests (just like in examples) to make running the tests and passing API keys a bit easier when developing.Fixes #368