Skip to content

fix: harden OpenRouter target runs - #48

Open
zeuzmakessoftware wants to merge 2 commits into
hexo-ai:mainfrom
zeuzmakessoftware:codex/openrouter-timeout-guardrails
Open

fix: harden OpenRouter target runs#48
zeuzmakessoftware wants to merge 2 commits into
hexo-ai:mainfrom
zeuzmakessoftware:codex/openrouter-timeout-guardrails

Conversation

@zeuzmakessoftware

Copy link
Copy Markdown

Summary:

  • resolve OpenRouter PydanticAI profiles through the native OpenRouter provider and require the configured API key
  • wrap malformed 200/JSON provider responses with actionable context
  • require generated target agents to bound API timeouts/retries and update the GPQA reference agent

Tests:

  • python -m pytest tests/ -v
  • ruff check sia/ tests/
  • ruff format --check sia/ tests/
  • ty check sia/ (passes with existing optional google.generativeai unresolved-import warning)

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.

1 participant