forked from phoenix/litellm-mirror
ui - support adding mistral, tg ai, perplexity, open router
This commit is contained in:
parent
3708355f91
commit
c44cdc3f4b
1 changed files with 17 additions and 6 deletions
|
@ -137,20 +137,26 @@ interface ProviderSettings {
|
|||
}
|
||||
|
||||
enum Providers {
|
||||
OpenAI = "OpenAI",
|
||||
Anthropic = "Anthropic",
|
||||
Anyscale = "Anyscale",
|
||||
Azure = "Azure",
|
||||
Azure_AI_Studio = "Azure AI Studio",
|
||||
Anthropic = "Anthropic",
|
||||
Google_AI_Studio = "Google AI Studio",
|
||||
Bedrock = "Amazon Bedrock",
|
||||
OpenAI_Compatible = "OpenAI-Compatible Endpoints (Groq, Mistral AI, etc.)",
|
||||
Vertex_AI = "Vertex AI (Anthropic, Gemini, etc.)",
|
||||
Codestral = "Codestral API (MistralAI)",
|
||||
Databricks = "Databricks",
|
||||
TogetherAI = "TogetherAI",
|
||||
Google_AI_Studio = "Google AI Studio",
|
||||
Groq = "Groq",
|
||||
MistralAI = "MistralAI",
|
||||
Ollama = "Ollama",
|
||||
OpenAI = "OpenAI",
|
||||
OpenAI_Compatible = "OpenAI-Compatible Endpoints (vLLM etc.)",
|
||||
OpenRouter = "OpenRouter",
|
||||
PerplexityAI = "PerplexityAI",
|
||||
TogetherAI = "TogetherAI",
|
||||
Vertex_AI = "Vertex AI (Anthropic, Gemini, etc.)",
|
||||
}
|
||||
|
||||
|
||||
const provider_map: Record<string, string> = {
|
||||
OpenAI: "openai",
|
||||
Azure: "azure",
|
||||
|
@ -161,6 +167,11 @@ const provider_map: Record<string, string> = {
|
|||
OpenAI_Compatible: "openai",
|
||||
Vertex_AI: "vertex_ai",
|
||||
TogetherAI: "together_ai",
|
||||
MistralAI: "mistral",
|
||||
Codestral: "codestral",
|
||||
PerplexityAI:"perplexity",
|
||||
OpenRouter: "openrouter",
|
||||
Anyscale: "anyscale",
|
||||
Groq: "groq",
|
||||
Databricks: "databricks",
|
||||
Ollama: "ollama",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue