Repository navigation
feat(providers): surface new Claude, xAI, and Grok Build chat ids - #14237
diegosouzapw merged 1 commit into
Conversation
|
Adding context on the semantic updates here and the boundaries we kept: xAI live discovery on by default autoSync on new Grok Build imports xAI API key model passthrough Why Claude was intentionally excluded from passthrough |
Claude's models list now requests limit=1000 so a single GET covers the current catalog. xAI API-key connections accept unknown model ids the same way xai-oauth already does, and live OAuth catalog fetch is on unless the operator turns the flag off. New Grok Build OAuth imports persist autoSync so the next published grok id shows up without a registry seed bump. Signed-off-by: Minxi Hou <houminxi@gmail.com>
adf6e9a to
f0896dd
Compare
72d3819
into
cheaper-inference:release/v3.8.51
|
Merge-order note for whoever lands second between this PR and #14525. #14525 (grok build-object supportedThinkingEfforts) intentionally seeds grok-4.7 into the registry and keeps xhigh on grok models discovered from object catalogs. If it merges first, two guard tests in this PR need updating:
If this one merges first instead, #14525 needs the reciprocal updates on its side. I hit both failures while building an integration branch carrying the two PRs together, so this is measured, not speculative. |
Summary
Claude's
/v1/modelsGET now sendslimit=1000, so a single request covers the current catalog instead of Anthropic's default page size. xAI API-key connections accept unknown model ids the same wayxai-oauthalready does. Live OAuth catalog fetch forxai-oauthis on by default (XAI_OAUTH_LIVE_MODEL_DISCOVERY); set the flag to false to keep the frozen seed. New Grok Build OAuth imports persistautoSync: trueso the next published grok id shows up without a registry seed bump.Claude does not get
passthroughModels. A 429 on Claude still cools the whole account. There is noafter_idloop.Test plan
t tests/unit/flagship-0day-discovery.test.ts tests/unit/xai-oauth-discovery.test.ts tests/unit/l1-oauth-autosync-default.test.ts tests/unit/combo-claude-per-model-scope.test.ts tests/unit/feature-flags-doc-sync-static.test.ts tests/unit/grok-cli-oauth.test.ts— 87/87.?limit=1000from the Claude URL → the exact-URL test fails. Restore → pass.passthroughModelsonxaiProvideronly → xAI apikey half fails, oauth half still green.autoSynconmapImportedToken→ JWT/auth.json tests fail, browser path still green. Drop it onmapGrokBuildBrowserTokens→ the reverse.combo-claude-per-model-scopestill treats Claude 429 as account-wide.Notes
xai/xai-oauth/xaostay out ofCATALOG_SIBLING_IDSandPROVIDER_SEARCH_PAIRS. Seeds do not addgrok-4.7,gemini-4.0-pro, orclaude-opus-5-1.