Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After submitting a prompt(ASK mode) with Gemini 3 pro preview(through openrouter), I get an error popup stating “Unable to reach the model provider”(see detail below with the error json), however Openrouter is charging me for the request and generating tokens. Using a different model through openrouter with the same prompt works fine with the same Openrouter API key so i know the API key is good.
Steps to Reproduce
submit a prompt
“Explored 3 files” displayed by agent under the prompt. Nothing else happens until I click in the cursor chat pane, and get the “Unable to reach the model provider” dialog at the bottom of the pane - see screenshot.
Expected Behavior
Agent should do work out output the results under the prompt.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.1.50 (Universal)
VSCode Version: 1.105.1
Commit: 56f0a83df8e9eb48585fcc4858a9440db4cc7770
Date: 2025-12-06T23:39:52.834Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 23.6.0
For AI issues: which model did you use?
Gemini 3 Pro Preview with Openrouter
For AI issues: add Request ID with privacy disabled
0998c0ef-e0bd-434a-8086-24c1c828e2ef
Additional Information
This is the JSON copied from the error dialog:
Request ID: 0998c0ef-e0bd-434a-8086-24c1c828e2ef
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We encountered an issue when using your API key: Provider was unable to process your request\n\nAPI Error:\n\n\nRequest failed with status code 400: {\"error\":{\"message\":\"Provider returned error\",\"code\":400,\"metadata\":{\"raw\":\"Gemini models require OpenRouter reasoning details to be preserved in each request. Please refer to our docs: https://openrouter.ai/docs/guides/best-practices/reasoning-tokens#preserving-reasoning-blocks. Upstream error: {\\n \\\"error\\\": {\\n \\\"code\\\": 400,\\n \\\"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:list_dir` , position 2. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.\\\",\\n \\\"status\\\": \\\"INVALID_ARGUMENT\\\"\\n }\\n}\\n\",\"provider_name\":\"Google AI Studio\"}},\"user_id\":\"HIDDEN_FOR_PRIVACY\"}\n”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
Does this stop you from using Cursor
Yes - Cursor is unusable
