Skip to content

antigravity gemini-3/3.1的模型不能用,其他可以 - v6.8.45 #1903

@rollingstone87

Description

@rollingstone87

Is it a request payload issue?
[ ] Yes, this is a request payload issue. I am using a client/cURL to send a request payload, but I received an unexpected error.
[v ] No, it's another issue.

If it's a request payload issue, you MUST know
Our team doesn't have any GODs or ORACLEs or MIND READERs. Please make sure to attach the request log or curl payload.

Describe the bug
only appears when I use gemini 3 flash 3.1 pro, ok with 2.5 flash or opus 4.6 thinking
API Error: 400 {"error":{"code":400,"message":"*
GenerateContentRequest.contents[12].parts[0].function_response.name: Name cannot be
empty.\n* GenerateContentRequest.contents[14].parts[0].function_response.name: Name
cannot be empty.\n*
GenerateContentRequest.contents[16].parts[0].function_response.name: Name cannot be
empty.\n* GenerateContentRequest.contents[20].parts[0].function_response.name: Name
cannot be empty.\n*
GenerateContentRequest.contents[22].parts[0].function_response.name: Name cannot be
empty.\n* GenerateContentRequest.contents[24].parts[0].function_response.name: Name
cannot be empty.\n","status":"INVALID_ARGUMENT"}}

CLI Type
using antigravity oauth for claude code

Model Name
gemini-3-flash gemini-3.1-pro-low/high

LLM Client
claude code

Request Information
The best way is to paste the cURL command of the HTTP request here.
Alternatively, you can set request-log: true in the config.yaml file and then upload the detailed log file.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

OS Type

  • OS: [e.g. macOS]
  • Version [e.g. 15.6.0]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions