9router/open-sse/services
caiqinzhou 1980178d02 feat(github): resolve Copilot model catalog from upstream
Fetch the live model list from the Copilot /models endpoint and surface
it through /v1/models, replacing the hardcoded github entry so newly
shipped models appear without a code change. Catalog is cached per
credential and the Copilot token is refreshed on 401/403 before retry.

Also raise the connectivity-test budget to max_tokens:16, since Claude on
Copilot emits no choices at max_tokens:1 and produced a false negative.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 10:38:09 +07:00
..
tokenRefresh feat(provider): add CodeBuddy CN provider (copilot.tencent.com) 2026-06-19 15:33:26 +07:00
usage feat(antigravity): native image generation support 2026-06-21 17:54:32 +07:00
accountFallback.js fix: update backoff configuration and improve CLI detection messages 2026-04-17 12:54:50 +07:00
combo.js fix(combo/fusion): flatten Anthropic-style tool messages in panel calls 2026-06-20 15:19:31 +07:00
compact.js Feat : Auto restart after crash 2026-03-14 09:37:29 +07:00
copilotModels.js feat(github): resolve Copilot model catalog from upstream 2026-06-26 10:38:09 +07:00
kiroModels.js https://github.com/decolua/9router/pull/1167 2026-05-16 11:20:08 +07:00
model.js refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup 2026-06-14 13:15:48 +07:00
oauthCredentialManager.js refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup 2026-06-14 13:15:48 +07:00
projectId.js Add proactive token refresh lead times for providers and implement Codex proxy management 2026-04-14 11:41:06 +07:00
provider.js feat(headroom): add proxy lifecycle management + dashboard UI 2026-06-20 10:09:50 +07:00
qoderModels.js refactor(open-sse): registry consolidation + DRY media/oauth/adhoc cleanup 2026-06-14 13:15:48 +07:00
tokenRefresh.js feat(provider): add CodeBuddy CN provider (copilot.tencent.com) 2026-06-19 15:33:26 +07:00
usage.js feat(codebuddy-cn): add API key auth + credit quota tracker 2026-06-21 16:12:20 +07:00