agent: Add support for google gemini 2.5 flash preview (#29205)

Adds support for the new gemini-2.5-flash-preview-04-17

Release Notes:

- agent: Added support for gemini-2.5-flash-preview
This commit is contained in:
Stephan Seidt 2025-04-22 11:37:12 +02:00 committed by GitHub
parent b0b620af56
commit 10ded0ab75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -105,6 +105,7 @@ impl CloudModel {
| google_ai::Model::Gemini20FlashLite
| google_ai::Model::Gemini25ProExp0325
| google_ai::Model::Gemini25ProPreview0325
| google_ai::Model::Gemini25FlashPreview0417
| google_ai::Model::Custom { .. } => {
LanguageModelAvailability::RequiresPlan(Plan::ZedPro)
}