feat: add default value for openai host (#1336)

This commit is contained in:
Yingjie He
2025-02-21 14:12:35 -08:00
committed by GitHub
parent 57b0982b00
commit c812ee6af1
3 changed files with 10 additions and 2 deletions

View File

@@ -75,6 +75,11 @@ export const required_keys = {
'Azure OpenAI': ['AZURE_OPENAI_API_KEY', 'AZURE_OPENAI_ENDPOINT', 'AZURE_OPENAI_DEPLOYMENT_NAME'],
};
export const default_key_value = {
OPENAI_HOST: 'https://api.openai.com',
OLLAMA_HOST: 'localhost',
};
export const supported_providers = [
'OpenAI',
'Anthropic',