-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: agent generate config err #1305
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
@genquan9 Could you help review this change? |
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.
Thanks a lot for the help!
The change is great in general!
I only added minor comments.
Could you resolve the comments?
@genquan9 Thanks for your suggestion. I fixed the problem mentioned in above comments. |
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.
Thanks a lot!
Code Update
I modified both
_get_completion_inputs
andgenerate_content_async
functions, the associate file issrc/google/adk/models/lite_llm.py
.Test Case
unittests
json
.test_generate_content_async
(same codeL430-L507
)test_get_completion_inputs_generation_params
for func_get_completion_inputs
Fixes: #1302