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

Sdk update to use glm 0.6.1 #270

Merged

Conversation

mayureshagashe2105
Copy link
Contributor

@mayureshagashe2105 mayureshagashe2105 commented Apr 3, 2024

  1. Update dependency of glm package to use 0.6.1.
  2. proto def for GenerateContentRequest lists system_instruction in singular as the field is not repeated. This is consistent with the latest release(glm==0.6.1)
  3. Import TypedDict from typing_extensions

Checklist

  • I have performed a self-review of my code.
  • I have added detailed comments to my code where applicable.
  • I have verified that my change does not break existing code.
  • My PR is based on the latest changes of the main branch (if unsure, please run git pull --rebase upstream main).
  • I am familiar with the Google Style Guide for the language I have coded in.
  • I have read through the Contributing Guide and signed the Contributor License Agreement.

@mayureshagashe2105 mayureshagashe2105 requested a review from a team as a code owner April 3, 2024 05:27
@github-actions github-actions bot added status:awaiting review PR awaiting review from a maintainer component:python sdk Issue/PR related to Python SDK labels Apr 3, 2024
markmcd
markmcd previously approved these changes Apr 3, 2024
Copy link
Member

@markmcd markmcd left a 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.

Copy link
Member

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.

Copy link
Contributor Author

@mayureshagashe2105 mayureshagashe2105 Apr 3, 2024

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 ?

Copy link
Member

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.

Copy link
Contributor Author

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.

@markmcd markmcd merged commit ba6b439 into google-gemini:main Apr 3, 2024
7 checks passed
@github-actions github-actions bot removed the status:awaiting review PR awaiting review from a maintainer label Apr 3, 2024
@@ -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",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:python sdk Issue/PR related to Python SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants