Merge pull request #663 from DayuanJiang/fix/ollama-allowed-client-provider

Adds Ollama to allowed client providers list
This commit is contained in:
Dayuan Jiang
2026-01-29 21:57:00 +09:00
committed by GitHub
+2 -1
View File
@@ -39,7 +39,7 @@ export interface ClientOverrides {
baseUrlEnv?: string baseUrlEnv?: string
} }
// Providers that can be used with client-provided API keys // Providers that can be selected from client settings
const ALLOWED_CLIENT_PROVIDERS: ProviderName[] = [ const ALLOWED_CLIENT_PROVIDERS: ProviderName[] = [
"openai", "openai",
"anthropic", "anthropic",
@@ -53,6 +53,7 @@ const ALLOWED_CLIENT_PROVIDERS: ProviderName[] = [
"sglang", "sglang",
"gateway", "gateway",
"edgeone", "edgeone",
"ollama",
"doubao", "doubao",
"modelscope", "modelscope",
] ]