-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
Description
When using the Gemini 3 Flash Preview model with picoclaw, function calls are consistently failing. The error messages indicate that a thought_signature is missing in the functionCall parts, which is stated as required for tools to work correctly and leads to degraded model performance.
This prevents the agent from properly utilizing available tools via function calling.
Error Message:
2026/02/12 15:56:24 [2026-02-12T15:56:24Z] [ERROR] agent: LLM call failed {iteration=2, error=API error: [{
"error": {
"code": 400,
"message": "Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call default_api:list_dir , position 10. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.",
"status": "INVALID_ARGUMENT"
"error": {
"code": 400,
"message": "Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call default_api:list_dir , position 10. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.",
"status": "INVALID_ARGUMENT"
}
}
]}
Error: LLM call failed: API error: [{
"error": {
"code": 400,
"message": "Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call default_api:list_dir , position 10. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.",
"status": "INVALID_ARGUMENT"
}
}
]
Expected behavior:
Function calls should execute correctly without requiring manual intervention for thought_signature when using the Gemini 3 Flash Preview model, similar to how other models handle function calling.
Impact:
This issue severely limits the agent's ability to use tools and perform tasks when configured with the Gemini 3 Flash Preview model.
Reactions are currently unavailable