diff --git a/src-tauri/src/commands/config.rs b/src-tauri/src/commands/config.rs index 9fa725a..1306045 100644 --- a/src-tauri/src/commands/config.rs +++ b/src-tauri/src/commands/config.rs @@ -5063,7 +5063,7 @@ fn normalize_base_url(raw: &str) -> String { fn normalize_model_api_type(raw: &str) -> &'static str { match raw.trim() { "anthropic" | "anthropic-messages" => "anthropic-messages", - "google-gemini" => "google-gemini", + "google-gemini" | "google-generative-ai" => "google-gemini", "openai" | "openai-completions" | "openai-responses" | "" => "openai-completions", _ => "openai-completions", }