gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

✕ [API Error: [{ "error": { "code": 400,

Open leopoldof3 opened this issue 1 year ago • 2 comments

What happened?

I just gice an instruction but dosnt work

✕ [API Error: [{ "error": { "code": 400, "message": "Unable to submit request because Thinking_config.include_thoughts is only enabled when thinking is enabled.. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini", "errors": [ { "message": "Unable to submit request because Thinking_config.include_thoughts is only enabled when thinking is enabled.. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini", "domain": "global", "reason": "badRequest" } ], "status": "INVALID_ARGUMENT" } } ]]

What did you expect to happen?

just any comand, nothing seems to work

Client information

  • CLI Version: 0.1.16
  • Git Commit: 820169ba (local modifications)
  • Operating System: win32 v22.17.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-flash-lite
  • Memory Usage: 122.8 MB

Login information

google account

Anything else we need to know?

No response

leopoldof3 avatar Aug 02 '25 06:08 leopoldof3

I encountered the same error. After I turned off the integration with the Docker MCP Toolkit, I was able to send requests normally. This might be a temporary solution.

kamontia avatar Aug 02 '25 11:08 kamontia

Closing now due to inactivity. Please reopen and provide more details if this happens again.

SandyTao520 avatar Aug 22 '25 20:08 SandyTao520