-
Notifications
You must be signed in to change notification settings - Fork 230
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
Sdk update to use glm 0.6.1 #270
Sdk update to use glm 0.6.1 #270
Conversation
proto def for glm.GenerateContentRequest lists system_instruction as singular
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.
I added tests & fixed the plural naming.
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.
This looks unrelated to the PR. Accidental?
If it's intentional - please try to keep PRs focused (go/small-cls or the public copy). It helps if we ever need to roll back changes if things are easily separable.
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.
function_calling_mode
was supposed to be a follow-on PR, pushed on the same branch by mistake. Should I revert ?
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.
Yeah if you can - push it ASAP & we can merge this.
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.
Done. Should be good to go.
@@ -42,7 +42,7 @@ def get_version(): | |||
release_status = "Development Status :: 5 - Production/Stable" | |||
|
|||
dependencies = [ | |||
"google-ai-generativelanguage@https://storage.googleapis.com/generativeai-downloads/preview/ai-generativelanguage-v1beta-py.tar.gz", | |||
"google-ai-generativelanguage==0.6.1", |
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.
Yes. Thanks!
glm
package to use0.6.1
.GenerateContentRequest
listssystem_instruction
in singular as the field is not repeated. This is consistent with the latest release(glm==0.6.1)TypedDict
fromtyping_extensions
Checklist
git pull --rebase upstream main
).