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
"⚠️ The session is pointing at a stale OpenAI Codex auth route. Run `openclaw doctor --fix` to repair Codex model/session routes, restart the gateway if doctor asks, then try again. If doctor has nothing to repair or the error persists, re-auth with `openclaw models auth login --provider openai-codex` or run `openclaw configure`.",
4206
+
);
4207
+
}
4208
+
});
4209
+
4172
4210
it("falls back to a generic provider message for unsafe missing-key provider ids",async()=>{
return"⚠️ Missing API key for OpenAI on the gateway. Use `openai/gpt-5.5` with the Codex OAuth profile, or set `OPENAI_API_KEY` for direct OpenAI API-key runs.";
546
546
}
547
+
if(provider==="openai-codex"){
548
+
return"⚠️ The session is pointing at a stale OpenAI Codex auth route. Run `openclaw doctor --fix` to repair Codex model/session routes, restart the gateway if doctor asks, then try again. If doctor has nothing to repair or the error persists, re-auth with `openclaw models auth login --provider openai-codex` or run `openclaw configure`.";
549
+
}
547
550
if(SAFE_MISSING_API_KEY_PROVIDERS.has(provider)){
548
551
return`⚠️ Missing API key for provider "${provider}". Configure the gateway auth for that provider, then try again.`;
0 commit comments