- Added Codex-related fields to UserConfig and LLMConfig for managing OAuth tokens and model settings. - Implemented Codex authentication endpoints and integrated them into the application. - Enhanced LLMClient to support Codex as a valid provider, including token management and refresh logic. - Updated UI components to include Codex configuration options and authentication status handling. - Refactored environment variable utilities to accommodate Codex-specific settings.
7 lines
238 B
Python
7 lines
238 B
Python
OPENAI_URL = "https://api.openai.com/v1"
|
|
|
|
# Default models
|
|
DEFAULT_OPENAI_MODEL = "gpt-4.1"
|
|
DEFAULT_GOOGLE_MODEL = "models/gemini-2.5-flash"
|
|
DEFAULT_ANTHROPIC_MODEL = "claude-sonnet-4-20250514"
|
|
DEFAULT_CODEX_MODEL = "gpt-5.3-codex-spark"
|