I have configured Codex, have an active subscription and /codex commands are working, but when I try to chat with my agent, I get this error - Tried in both webchat and TUI:
hi
⚠️ Agent failed before reply: No API key found for provider "openai". You are authenticated with OpenAI Codex OAuth. Use openai-codex/gpt-5.5, or set OPENAI_API_KEY for direct OpenAI API access. | No API
key found for provider "openai". You are authenticated with OpenAI Codex OAuth. Use openai-codex/gpt-5.5, or set OPENAI_API_KEY for direct OpenAI API access.
Logs: openclaw logs --follow
/codex status
Codex app-server: connected
Models: gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5.3-codex, gpt-5.2
Account: MASKED@gmail.com
Rate limits: Codex: primary 1%, resets in 5 hours (2026-05-12T22:52:46.000Z), secondary 0%, resets in 7 days (2026-05-19T17:52:46.000Z)
MCP servers: 1
Skills: 1
/codex models
Codex models:
- gpt-5.5 (default)
- gpt-5.4
- gpt-5.4-mini
- gpt-5.3-codex
- gpt-5.2
connected | idle
one thing that is odd is the active model is showing as sonnet which is not even the agents default model
agent coder (Coder) | session main (openclaw-tui) | litellm/claude-sonnet-4-6 | tokens 24k/1.0m (2%)