Skip to content

Prefer fallback for Gemini CloudCode rate limits#13636

Closed
jkausel-ai wants to merge 1 commit into
NousResearch:mainfrom
jkausel-ai:codex/gemini-fast-fallback
Closed

Prefer fallback for Gemini CloudCode rate limits#13636
jkausel-ai wants to merge 1 commit into
NousResearch:mainfrom
jkausel-ai:codex/gemini-fast-fallback

Conversation

@jkausel-ai

Copy link
Copy Markdown
Contributor

Summary

  • keep same-provider credential-pool recovery for most providers
  • prefer configured fallback immediately for google-gemini-cli / cloudcode-pa rate limits
  • add focused regression tests for the CloudCode fallback decision

Testing

  • /Users/justinkausel/Documents/GitHub/hermes-agent/.venv/bin/python -m pytest -o addopts='' tests/agent/test_gemini_fast_fallback.py -q
  • /Users/justinkausel/Documents/GitHub/hermes-agent/.venv/bin/python -m py_compile run_agent.py
  • VPS: /root/src/hermes-agent/venv/bin/python -m py_compile run_agent.py
  • VPS: timeout 120 /root/src/hermes-agent/venv/bin/hermes chat -Q -q 'Reply exactly: GEMINI_DRIVER_OK'

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

Labels

comp/agent Core agent loop, run_agent.py, prompt builder provider/gemini Google Gemini (AI Studio, Cloud Code) type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants