Remove Gemini from the LLM-providers list

This commit is contained in:
Clément Renault 2025-06-24 15:58:39 +02:00
parent bd2bd0f33b
commit 89498a2bea
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
3 changed files with 1 additions and 6 deletions

View file

@ -114,7 +114,6 @@ pub enum ChatCompletionSource {
OpenAi,
AzureOpenAi,
Mistral,
Gemini,
VLlm,
}
@ -134,7 +133,6 @@ impl ChatCompletionSource {
AzureOpenAi if Self::old_openai_model(model) => System,
AzureOpenAi => Developer,
Mistral => System,
Gemini => System,
VLlm => System,
}
}
@ -154,7 +152,6 @@ impl ChatCompletionSource {
match self {
OpenAi => Some("https://api.openai.com/v1/"),
Mistral => Some("https://api.mistral.ai/v1/"),
Gemini => Some("https://generativelanguage.googleapis.com/v1beta/openai"),
AzureOpenAi | VLlm => None,
}
}