Skip to content

Claude: separate model discovery proxy - #395

Open
andy-xu-db wants to merge 6 commits into
mainfrom
andy.xu/claude-model-discovery-proxy
Open

Claude: separate model discovery proxy#395
andy-xu-db wants to merge 6 commits into
mainfrom
andy.xu/claude-model-discovery-proxy

Conversation

@andy-xu-db

Copy link
Copy Markdown
Collaborator

Summary

  • keep token refresh, retry, forwarding, and streaming in the shared gateway proxy
  • move Anthropic model prefixing and stripping into a discovery handler subclass
  • use the discovery subclass for both standard and relayed Claude launches

Testing

  • uv run --frozen ruff check src/ tests/
  • uv run --frozen ty check src/
  • uv run --frozen pytest tests/test_gateway_proxy.py tests/test_anthropic_model_discovery_proxy.py tests/test_agent_claude.py tests/test_lint.py -q
  • uv run --frozen pytest -q --ignore=tests/test_e2e_user_agent.py (1951 passed, 37 skipped)

Stacked on #375.

@andy-xu-db
andy-xu-db force-pushed the andy.xu/claude-model-discovery-proxy branch from 0bb4d25 to 2ad807d Compare August 26, 2026 02:04
@andy-xu-db
andy-xu-db changed the base branch from andy.xu/claude-gateway-model-aliases to main August 26, 2026 02:04
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