You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add reasoning content in the request for gcp gemini (#1603)
**Description**
This is motivated by
https://docs.cloud.google.com/vertex-ai/generative-ai/docs/thought-signatures:
```
Gemini 3 Pro enforces stricter validation on thought signatures than previous Gemini versions because they improve model performance for function calling. To ensure the model maintains full context across multiple turns of a conversation, you must return the thought signatures from previous responses in your subsequent requests. If a required thought signature is not returned when using Gemini 3 Pro, the model returns a 400 error.
```
Without this, gemini-3 can not even finish a complete tool call
procedure.
---------
Signed-off-by: yxia216 <[email protected]>
0 commit comments