You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7cd270d
Browse filesBrowse the repository at this point in the historyBrowse files
OAuth xai/grok-4.5 and grok-4.6 Codex /v1/responses traffic still used the
provider-wide openai-chat adapter, while the official Grok CLI catalog declares
api_backend: "responses". Chat Completions compatibility holds the stream until
the reasoning turn finishes, so Codex sat blank until the turn was effectively
done.
Declare the Responses wire default for those two models, scoped to OAuth and to
responses-shaped inbound traffic. API-key xAI, Chat/Anthropic translation, other
Grok models, and any explicit modelAdapters override all stay on Chat.
Native Responses returns before the generic recovery loop, so the OAuth 401
replay never ran on this path. Add the equivalent one-shot: refresh once, rebuild
the provider and adapter, replay once. It is a single branch rather than a loop,
so a second 401 cannot refresh again. Refresh failures go through the existing
public OAuth error projector, which the tests pin against path canaries.
Carries @olddonkey's #2104 unchanged.
Closes#1886
0 commit comments