- 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.
12 lines
227 B
Python
12 lines
227 B
Python
from enum import Enum
|
|
|
|
|
|
class LLMProvider(Enum):
|
|
OLLAMA = "ollama"
|
|
OPENAI = "openai"
|
|
GOOGLE = "google"
|
|
VERTEX = "vertex"
|
|
AZURE = "azure"
|
|
ANTHROPIC = "anthropic"
|
|
CUSTOM = "custom"
|
|
CODEX = "codex"
|