Skip to content

refactor: share provider routing preflight and canonicalize family IDs - #108

Merged
caigee-cmd merged 1 commit into
mainfrom
refactor/routing-dedup
Sep 7, 2026
Merged

refactor: share provider routing preflight and canonicalize family IDs#108
caigee-cmd merged 1 commit into
mainfrom
refactor/routing-dedup

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • Deduplicate /v1 and compatibility chat preflight, sticky/pool model matching, and stream/non-stream failover loops.
  • Canonicalize provider/region IDs on pool upsert and adapter lookup so mixed-case families still execute.
  • Keep named API keys limited to allowed providers for both routing and GET /v1/models, and document provider-prefixed model IDs on Access.

Test plan

  • go test ./internal/accounts ./internal/auth ./internal/executor ./internal/api
  • cd frontend && npm run sync
  • CI on this PR

Deduplicate chat/compat preflight, sticky/pool model matching, and
failover loops. Named API keys stay limited to allowed providers for
both chat and /v1/models, and Access documents prefixed model IDs.
@caigee-cmd
caigee-cmd merged commit 45a95ef into main Sep 7, 2026
6 checks passed
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