Files
page-assist/src/utils/oai-api-providers.ts

52 lines
1.1 KiB
TypeScript
Raw Normal View History

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"
},
2024-10-12 18:28:29 +05:30
{
label: "OpenRouter",
value: "openrouter",
baseUrl: "https://openrouter.ai/api/v1"
},
{
label: "Google AI",
value: "gemini",
baseUrl: "https://generativelanguage.googleapis.com/v1beta/openai"
}
]