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

GL
16h ago
+7-7

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.