Skip to content

Gemini-3-pro-preview Error #7136

@inspire-boy

Description

@inspire-boy

What happened?

openai.BadRequestError: Error code: 400 - {'error': {'message': 'Invalid response received from google: [{"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:ai_image_editor_tool , position 2. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.","status":"INVALID_ARGUMENT"}}]', 'type': None, 'param': None, 'code': None}, 'provider': 'google'}

Which packages was the bug in?

Python AgentChat (autogen-agentchat>=0.4.0)

AutoGen library version.

Python dev (main branch)

Other library version.

No response

Model used

gemini-3-pro-preview

Model provider

Google Gemini

Other model provider

No response

Python version

3.12

.NET version

None

Operating system

Ubuntu

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions