shiv-4567892009 commited on
Commit
f7ee8b4
·
verified ·
1 Parent(s): bdf04cb

Capitalized Provider Name

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -82,13 +82,13 @@ def parse_model_string(model):
82
  # Known provider name mappings
83
  # Update these based on what's configured in Onyx Cloud admin panel
84
  PROVIDER_ALIASES = {
85
- "openai": "openai",
86
- "anthropic": "anthropic",
87
- "google": "google",
88
- "azure": "azure",
89
- "bedrock": "bedrock",
90
- "cohere": "cohere",
91
- "mistral": "mistral",
92
  # Add more aliases as needed
93
  }
94
 
 
82
  # Known provider name mappings
83
  # Update these based on what's configured in Onyx Cloud admin panel
84
  PROVIDER_ALIASES = {
85
+ "openai": "OpenAI", # Capitalized generally preferred
86
+ "anthropic": "Anthropic", # Capitalized
87
+ "google": "Google",
88
+ "azure": "Azure",
89
+ "bedrock": "Bedrock",
90
+ "cohere": "Cohere",
91
+ "mistral": "Mistral",
92
  # Add more aliases as needed
93
  }
94