page-assist/src/utils/oai-api-providers.ts
n4ze3m 1d9d704c76 feat: Add Mistral provider support
feat: Update manifest version to 1.4.1
2025-01-04 20:16:23 +05:30

57 lines
1.2 KiB
TypeScript

export const OAI_API_PROVIDERS = [
{
label: "Custom",
value: "custom",
baseUrl: ""
},
{
label: "LM Studio",
value: "lmstudio",
baseUrl: "http://localhost:1234/v1"
},
{
label: "Llamafile",
value: "llamafile",
baseUrl: "http://127.0.0.1:8080/v1"
},
{
label: "Ollama",
value: "ollama2",
baseUrl: "http://localhost:11434/v1"
},
{
label: "OpenAI",
value: "openai",
baseUrl: "https://api.openai.com/v1"
},
{
label: "Fireworks",
value: "fireworks",
baseUrl: "https://api.fireworks.ai/inference/v1"
},
{
label: "Groq",
value: "groq",
baseUrl: "https://api.groq.com/openai/v1"
},
{
label: "Together",
value: "together",
baseUrl: "https://api.together.xyz/v1"
},
{
label: "OpenRouter",
value: "openrouter",
baseUrl: "https://openrouter.ai/api/v1"
},
{
label: "Google AI",
value: "gemini",
baseUrl: "https://generativelanguage.googleapis.com/v1beta/openai"
},
{
label: "Mistral",
value: "mistral",
baseUrl: "https://api.mistral.ai/v1"
}
]