- Added environment variables for Vertex AI and Azure OpenAI configurations in docker-compose and user configuration models. - Updated the application logic to handle Vertex and Azure as new LLM providers, including validation and API key management. - Enhanced the UI components to support model selection and API key input for Vertex and Azure. - Updated relevant utility functions and constants to accommodate the new providers. - Ensured proper error handling for configuration requirements specific to Vertex and Azure.
9 lines
300 B
Python
9 lines
300 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_VERTEX_MODEL = "gemini-2.5-flash"
|
|
DEFAULT_AZURE_MODEL = "gpt-4.1"
|
|
DEFAULT_ANTHROPIC_MODEL = "claude-sonnet-4-20250514"
|
|
DEFAULT_CODEX_MODEL = "gpt-5.2"
|