Skip to content

Gemini 3 Pro "Function call is missing a thought_signature in functionCall parts" #8785

@adam-elston-upguard

Description

@adam-elston-upguard

Before submitting your bug report

Relevant environment info

- OS:macOS
- Continue version: 1.2.10
- IDE version: 1.106.0
- Model: gemini-3-pro-preview
- config:
  
- name: Gemini 3 Pro
    provider: gemini
    model: gemini-3-pro-preview
    apiKey: ${{ secrets.GEMINI_API_KEY }}
    roles:
      - chat
      - edit
      - apply
    defaultCompletionOptions:
      contextLength: 1048576
      maxTokens: 65536
    capabilities:
      - tool_use
      - image_input
  
  OR link to agent in Continue hub:

Description

Tool use results in the following 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:grep_search , position 3. please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.", "status": "INVALID_ARGUMENT" } } ]

To reproduce

No response

Log output

[@continuedev] error: HTTP 400 Bad Request from https://generativelanguage.googleapis.com/v1beta/models/gemini-3-pro-preview:streamGenerateContent
[{
  "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:grep_search` , position 3. please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.",
    "status": "INVALID_ARGUMENT"
  }
}
] {"context":"llm_fetch","url":"https://generativelanguage.googleapis.com/v1beta/models/gemini-3-pro-preview:streamGenerateContent","method":"POST","model":"gemini-3-pro-preview","provider":"gemini"}
[@continuedev] error: HTTP 400 Bad Request from https://generativelanguage.googleapis.com/v1beta/models/gemini-3-pro-preview:streamGenerateContent
[{
  "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:grep_search` , position 3. please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.",
    "status": "INVALID_ARGUMENT"
  }
}
] {"context":"llm_stream_chat","model":"gemini-3-pro-preview","provider":"gemini","useOpenAIAdapter":false,"streamEnabled":true,"templateMessages":false}

Metadata

Metadata

Labels

area:toolsRelates to tool usagekind:bugIndicates an unexpected problem or unintended behavioros:macHappening specifically on Mac

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions