mirror of
https://github.com/openai/codex.git
synced 2026-05-02 20:32:04 +03:00
Adds a `CodexAuth` type that encapsulates information about available auth modes and logic for refreshing the token. Changes `Responses` API to send requests to different endpoints based on the auth type. Updates login_with_chatgpt to support API-less mode and skip the key exchange.