-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Problem (one or two sentences)
I tried using Gemini 3 Pro through Requesty. The initial message (starting the task) worked great, but I tried to send it another message as a follow-up after its response and then got an API error saying:
Requesty completion error: 400 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:execute_command` , position 2. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.
Then, I tried the same with Claude Opus and got another error with a similar flow with the following message:
Requesty completion error: 400 messages.1.content.0.type: Expected `thinking` or `redacted_thinking`, but found `text`. When `thinking` is enabled, a final `assistant` message must start with a thinking block (preceeding the lastmost set of `tool_use` and `tool_result` blocks). We recommend you include thinking blocks from previous turns. To avoid this requirement, disable `thinking`. Please consult our documentation at https://docs.claude.com/en/docs/build-with-claude/extended-thinking
Context (who is affected and when)
It happened to me specifically on 2 tasks, one with the Gemini 3 Pro and once with Claude Opus 4.5 (with thinking enabled) models.
Both errors occurred after the initial starting prompt was working and I got a response, then got a request to run a command for additional debug information (right after the initial response from the model), which I ran manually because the issue is on a remote server, and then when I try to send it back in the conversation, I get errors with both models.
Reproduction steps
- Start a new task using Request as a provider, and
google/gemini-3-pro-previewas a model. - After the initial response from the model, write a response in the thread.
Expected result
The task work regularly as expected
Actual result
Getting an error
Variations tried (optional)
No response
App Version
v3.38.0
API Provider (optional)
Requesty
Model Used (optional)
google/gemini-3-pro-preview, anthropic/claude-opus-4-5
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Requesty completion error: 400 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:execute_command` , position 2. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.Requesty completion error: 400 messages.1.content.0.type: Expected `thinking` or `redacted_thinking`, but found `text`. When `thinking` is enabled, a final `assistant` message must start with a thinking block (preceeding the lastmost set of `tool_use` and `tool_result` blocks). We recommend you include thinking blocks from previous turns. To avoid this requirement, disable `thinking`. Please consult our documentation at https://docs.claude.com/en/docs/build-with-claude/extended-thinkingMetadata
Metadata
Assignees
Labels
Type
Projects
Status