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 {
|
enum Providers {
|
||||||
OpenAI = "OpenAI",
|
Anthropic = "Anthropic",
|
||||||
|
Anyscale = "Anyscale",
|
||||||
Azure = "Azure",
|
Azure = "Azure",
|
||||||
Azure_AI_Studio = "Azure AI Studio",
|
Azure_AI_Studio = "Azure AI Studio",
|
||||||
Anthropic = "Anthropic",
|
|
||||||
Google_AI_Studio = "Google AI Studio",
|
|
||||||
Bedrock = "Amazon Bedrock",
|
Bedrock = "Amazon Bedrock",
|
||||||
OpenAI_Compatible = "OpenAI-Compatible Endpoints (Groq, Mistral AI, etc.)",
|
Codestral = "Codestral API (MistralAI)",
|
||||||
Vertex_AI = "Vertex AI (Anthropic, Gemini, etc.)",
|
|
||||||
Databricks = "Databricks",
|
Databricks = "Databricks",
|
||||||
TogetherAI = "TogetherAI",
|
Google_AI_Studio = "Google AI Studio",
|
||||||
Groq = "Groq",
|
Groq = "Groq",
|
||||||
|
MistralAI = "MistralAI",
|
||||||
Ollama = "Ollama",
|
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> = {
|
const provider_map: Record<string, string> = {
|
||||||
OpenAI: "openai",
|
OpenAI: "openai",
|
||||||
Azure: "azure",
|
Azure: "azure",
|
||||||
|
@ -161,6 +167,11 @@ const provider_map: Record<string, string> = {
|
||||||
OpenAI_Compatible: "openai",
|
OpenAI_Compatible: "openai",
|
||||||
Vertex_AI: "vertex_ai",
|
Vertex_AI: "vertex_ai",
|
||||||
TogetherAI: "together_ai",
|
TogetherAI: "together_ai",
|
||||||
|
MistralAI: "mistral",
|
||||||
|
Codestral: "codestral",
|
||||||
|
PerplexityAI:"perplexity",
|
||||||
|
OpenRouter: "openrouter",
|
||||||
|
Anyscale: "anyscale",
|
||||||
Groq: "groq",
|
Groq: "groq",
|
||||||
Databricks: "databricks",
|
Databricks: "databricks",
|
||||||
Ollama: "ollama",
|
Ollama: "ollama",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue