google_ai: Parse thought parts in Gemini responses (#31925)

Fixes thinking Gemini models.

Closes #31902

Release Notes:

- Updated Google Gemini client to match the latest API
This commit is contained in:
Fernando Freire 2025-06-03 03:37:06 -07:00 committed by GitHub
parent 07dab4e94a
commit 3077abf9cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 0 deletions

View file

@ -620,6 +620,7 @@ impl GoogleEventMapper {
)));
}
Part::FunctionResponsePart(_) => {}
Part::ThoughtPart(_) => {}
});
}
}