mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-08 12:20:20 +08:00
Merge pull request #663 from DayuanJiang/fix/ollama-allowed-client-provider
Adds Ollama to allowed client providers list
This commit is contained in:
+2
-1
@@ -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",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user