refactor(providers): unify xAI authentication entry point - #10201
diegosouzapw merged 1 commit into
Conversation
|
This PR depends on #10195. #10195 must be merged before #10201 can be completed. Once #10195 is merged, please complete #10201 while preserving as much context as possible from the Grok-related work in #10195—especially the model list/catalog entries—so that those model-list changes are retained rather than lost or replaced. |
00386d1 to
db7f106
Compare
|
The xAI auth unification is solid: 36 node tests + 6 vitest pass on this branch, the OAuth client id is correctly routed through One coordination note: this PR and #10195 (Grok 4.6 / DeepSeek) have a modify/delete conflict on |
831930d to
7dc7b8b
Compare
7dc7b8b to
c62ace5
Compare
|
Restored after an accidental auto-close. During a routine branch refresh (rebase onto the updated base), this branch was mistakenly pushed as a flat copy of The branch is now properly rebased onto the current base (
CI is re-running on the restored head. Sorry for the noise. |
d501c42 to
ae25987
Compare
Present xAI API-key and OAuth connections through one dashboard card while preserving the distinct backend IDs required for refresh and quota handling. Co-locate both registry entries and include canonical and legacy connection IDs in provider fetch and batch-test flows.
ae25987 to
28de09a
Compare
|
Validated in local merge-train |
…pw#10201) Present xAI API-key and OAuth connections through one dashboard card while preserving the distinct backend IDs required for refresh and quota handling. Co-locate both registry entries and include canonical and legacy connection IDs in provider fetch and batch-test flows.
…pw#10201) Present xAI API-key and OAuth connections through one dashboard card while preserving the distinct backend IDs required for refresh and quota handling. Co-locate both registry entries and include canonical and legacy connection IDs in provider fetch and batch-test flows.
Summary
xaidashboard cardxai-oauth/xaoas backend compatibility IDs for OAuth refresh, quota, and existing stored connectionsregistry/xai/and remove the duplicateregistry/xai-oauth/moduleValidation
node --import tsx/esm --test tests/unit/provider-connections-fetch-url-2998.test.ts tests/unit/providers-page-utils.test.ts tests/unit/alibaba-provider-regions.test.ts tests/unit/xai-oauth-provider.test.ts tests/unit/xai-oauth-test-supported.test.ts— 50/50 passnpm run typecheck:core— passgit diff --check— passExisting release-base blockers
src/shared/components/modelSelectModalHelpers.ts(TS1005/ parser EOF)npm run check:file-sizereports six existing files outside this difftests/unit/providers-constants-split.test.tsstill hard-codes 198 API-key entries while the release base currently exports 227; this PR does not add a provider entry