-
Notifications
You must be signed in to change notification settings - Fork 240
Fix finishReason nullability #771
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
Qodana for JVM827 new problems were found
@@ Code coverage @@
+ 70% total lines covered
12724 lines analyzed, 8977 lines covered
# Calculated according to the filters of your coverage tool ☁️ View the detailed Qodana report Contact Qodana teamContact us at qodana-support@jetbrains.com
|
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.
Would be great to have a serialization test as well. The example json might be found here
Would it make sense to create OpenRouterChoice object for open router instead of using OpenAIChoice from base openai models? |
Yep, just added separate class for |
82c9695
to
e172c3a
Compare
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 to me
...ient/src/commonMain/kotlin/ai/koog/prompt/executor/clients/openrouter/OpenRouterLLMClient.kt
Outdated
Show resolved
Hide resolved
I have several questions here:
|
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.
Thank you!
2b56def
to
960b250
Compare
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.
Thank you, @tiginamaria
LGTM
Fixes JetBrains#758 (cherry picked from commit ce9d463)
Make finishReason nullabable in OpenAI-like provider responces
Fixes #758
Motivation and Context
Breaking Changes
Type of the changes
Checklist
develop
as the base branchAdditional steps for pull requests adding a new feature