- Added Codex authentication endpoints and logic for OAuth flow. - Updated Docker configuration to expose port 1455 for Codex callback. - Enhanced user configuration model to include Codex-related fields. - Integrated Codex selection into the LLM provider UI. - Implemented token management and refresh logic for Codex. - Added utility functions for handling Codex OAuth tokens and state management.
10 lines
185 B
Python
10 lines
185 B
Python
from enum import Enum
|
|
|
|
|
|
class LLMProvider(Enum):
|
|
OLLAMA = "ollama"
|
|
OPENAI = "openai"
|
|
GOOGLE = "google"
|
|
ANTHROPIC = "anthropic"
|
|
CUSTOM = "custom"
|
|
CODEX = "codex"
|