Skip to content

docs(examples): move examples and README to gemini-4-hydrogen - #35

Open
glebedel wants to merge 1 commit into
mainfrom
docs/examples-gemini-4
Open

glebedel wants to merge 1 commit into
mainfrom
docs/examples-gemini-4

Conversation

@glebedel

@glebedel glebedel commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Examples and README move from gemini-3.1-pro-preview to gemini-4-hydrogen, Google's fast GA Gemini 4 model for agentic work. The 3.1 preview is two generations back.
  • No library code changes. stackone-ai>=3.0.0,<4.0.0 already 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 passed
  • pytest against unreleased stackone-ai-python main, and against mcp 2.3.0 + google-adk 2.14.1 (latest): 20 passed
  • SDK conformance ADK smoke (sdk-conformance/scripts/run_smoke.sh adk): pass
  • Both examples run end to end with exit 0 on gemini-4-hydrogen (real Gemini calls) against the sdk-conformance mock API: workday_agent.py called workday_list_workers and answered; search_and_execute_agent.py searched, executed alpha_list_a, and answered
  • gemini-4-carbon, gemini-4-argon and gemini-4-hydrogen all accept function declarations (probed directly). Hydrogen answers in about 1s, against 9 to 20s for the other two
  • Live run against api.stackone.com with a real Workday account (not done: no key available to the agent)

Requested by guillaume@stackone.com

🤖 Generated with Claude Code


Summary by cubic

Updates the README and both examples to use gemini-4-hydrogen instead of the gemini-3.1-pro-preview model, which is two generations back. No library code changes; the existing stackone-ai>=3.0.0,<4.0.0 pin already accepts the upcoming SDK.

  • Both examples run end to end on gemini-4-hydrogen: workday_agent.py called workday_list_workers and answered, and search_and_execute_agent.py searched, executed alpha_list_a, and answered.
  • Hydrogen accepts function declarations and answers in about 1 second, versus 9 to 20 seconds for gemini-4-carbon and gemini-4-argon.

Written for commit 0e71d2f. Summary will update on new commits.

View guided diff Turn on auto-fix

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>
@glebedel glebedel self-assigned this Nov 19, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants