Gemini 3.1+ thinking models include a thought_signature field in functionCall parts. When reconstructing conversation history for subsequent turns, this signature must be preserved or the API returns 400 INVALID_ARGUMENT. - Add optional thought_signature field to LLMToolCall - Capture thought_signature from Gemini response parts - Pass thought_signature back when reconstructing multi-turn history - Add gemini-3.1-flash-lite-preview to the LLM provider test matrix |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| agent.py | ||
| models.py | ||
| observations.py | ||
| prompts.py | ||
| tools.py | ||
| tools_schema.py | ||