## Summary - Always use chatgpt.com/backend-api/codex for OAuth/auth_method=token providers - Handle response.output_text.delta streaming for Codex backend (fixes empty responses) - Add PICOCLAW_CODEX_HTTP_DEBUG env var for opt-in HTTP request/response logging - Simplify: remove ShouldUseCodexBackend (always returned true) ## Problem - ChatGPT Plus subscriptions use OAuth tokens, which only work on chatgpt.com backend - The Codex backend returns streaming text in response.output_text.delta events, but picoclaw was only parsing response.completed.output (which can be empty) - This caused empty responses even when the model was generating text |
||
|---|---|---|
| .. | ||
| antigravity_provider.go | ||
| antigravity_provider_test.go | ||
| claude_provider.go | ||
| claude_provider_test.go | ||
| codex_provider.go | ||
| codex_provider_test.go | ||
| types.go | ||