Repository navigation
Conversation
gemini-3.1-pro-preview is a preview model two generations back. Gemini 4 Hydrogen is Google's fast GA model for agentic work, and it handled both examples end to end: function calling, search then execute, final answer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gemini-3.1-pro-previewtogemini-4-hydrogen, Google's fast GA Gemini 4 model for agentic work. The 3.1 preview is two generations back.stackone-ai>=3.0.0,<4.0.0already accepts the upcoming SDK 3.1.0 (mcp 2 support), so no pin change is needed.Test plan
ruff check,mypy stackone_adk,pytest: clean, 20 passedpytestagainst unreleasedstackone-ai-pythonmain, and againstmcp2.3.0 +google-adk2.14.1 (latest): 20 passedsdk-conformance/scripts/run_smoke.sh adk): passgemini-4-hydrogen(real Gemini calls) against thesdk-conformancemock API:workday_agent.pycalledworkday_list_workersand answered;search_and_execute_agent.pysearched, executedalpha_list_a, and answeredgemini-4-carbon,gemini-4-argonandgemini-4-hydrogenall accept function declarations (probed directly). Hydrogen answers in about 1s, against 9 to 20s for the other twoRequested by guillaume@stackone.com
🤖 Generated with Claude Code
Summary by cubic
Updates the README and both examples to use
gemini-4-hydrogeninstead of thegemini-3.1-pro-previewmodel, which is two generations back. No library code changes; the existingstackone-ai>=3.0.0,<4.0.0pin already accepts the upcoming SDK.gemini-4-hydrogen:workday_agent.pycalledworkday_list_workersand answered, andsearch_and_execute_agent.pysearched, executedalpha_list_a, and answered.gemini-4-carbonandgemini-4-argon.Written for commit 0e71d2f. Summary will update on new commits.