feat(providers): xai-coding-plan — resolution chain fixes + am423 web auth - #26437
Closed
avirweb wants to merge 2 commits into
Closed
feat(providers): xai-coding-plan — resolution chain fixes + am423 web auth#26437avirweb wants to merge 2 commits into
avirweb wants to merge 2 commits into
Conversation
- xai-coding-plan profile with Grok CLI OAuth delegation - Curated model list: grok-build, grok-4-1-fast, grok-code-fast-1, grok-4.3, grok-4.3-latest - providers.py ALIASES + HERMES_OVERLAYS for resolution chain - Legacy xai-oauth alias registration for backward compatibility - models.dev mapping and test plugin count bump
Contributor
- Import Grok CLI OAuth tokens from ~/.grok/auth.json - resolve_xai_coding_plan_credentials with expiry/refresh handling - _login_xai_coding_plan flow with grok login --device-auth - ProviderConfig entry for xai-coding-plan in PROVIDER_REGISTRY - Config persistence with force_default_model for atomic provider/base_url/model - credential_pool seeding for same-provider fallback - Tests for token expiry, credential resolution, and config persistence
avirweb
force-pushed
the
feat/xai-coding-plan-provider
branch
from
May 15, 2026 16:08
ff9226b to
3a503f0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
xAI Coding Plan provider — full resolution chain fixes + am423 web auth flow
Changes
Resolution chain fixes (the /model "Unknown provider" bug)
Model picker fix
ACP auth flow (credits am423)
Verification
resolve_provider_full("xai-oauth")→ ProviderDef(id='xai-coding-plan')resolve_provider_full("xai-coding-plan")→ valid ProviderDefPROVIDER_REGISTRY["xai-coding-plan"]→ existscurated_models_for_provider("xai-coding-plan")→ [grok-build, grok-4-1-fast, ...]