fix: remove Ollama from all default fallback chains - cloud-only defaults
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2s

This commit is contained in:
2026-05-17 16:43:17 +02:00
parent 087341b045
commit 3e41bee470
3 changed files with 12 additions and 12 deletions

View File

@@ -75,9 +75,9 @@ const defaultConfig: SettingsConfig = {
openrouter_premium: { enabled: false, api_key: "", model: "openai/gpt-4o-mini" },
zai: { enabled: false, api_key: "", base_url: "https://api.x.ai/v1", model: "grok-2-1212" },
smtp: { enabled: false, host: "", port: 587, username: "", password: "", from_email: "", use_tls: true },
fallback_chain: "google,deepl,openai,ollama,openrouter,openrouter_premium,zai",
fallback_chain_classic: "google,deepl",
fallback_chain_llm: "ollama,openai,openrouter,zai",
fallback_chain: "google,google_cloud,deepl,openrouter,openrouter_premium,openai,deepseek,zai",
fallback_chain_classic: "google,google_cloud,deepl",
fallback_chain_llm: "openrouter,openrouter_premium,openai,deepseek,zai",
};
const defaultEnvInfo: EnvInfo = {
@@ -627,7 +627,7 @@ export default function AdminSettingsPage() {
<Input
value={config.fallback_chain_llm}
onChange={(e) => setConfig((prev) => ({ ...prev, fallback_chain_llm: e.target.value }))}
placeholder="ollama,openai"
placeholder="openrouter,openai,deepseek,zai"
/>
</div>
</CardContent>