mirror of
https://github.com/openai/codex.git
synced 2026-05-27 22:44:23 +00: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.
139 KiB
139 KiB