Error with AWS BEDROCK

Describe the Bug

Intro :

Version: 1.1.6
VSCode Version: 1.96.2
Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Date: 2025-06-25T02:13:33.781Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.8.0-60-generic

We are experiencing CRITICAL issues in Cursor with AWS Bedrock and Claude. Its almost impossible to use it as we keep getting the error :

We encountered an issue when using your API key: messages.1.content.0.type: Expected thinkingorredacted_thinking, but found tool_use. When thinkingis enabled, a finalassistantmessage must start with a thinking block (preceeding the lastmost set oftool_useandtool_resultblocks). We recommend you include thinking blocks from previous turns. To avoid this requirement, disablethinking. Please consult our documentation at https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking API Error: ``` messages.1.content.0.type: Expected thinkingorredacted_thinking, but found tool_use. When thinkingis enabled, a finalassistantmessage must start with a thinking block (preceeding the lastmost set oftool_useandtool_resultblocks). We recommend you include thinking blocks from previous turns. To avoid this requirement, disablethinking`. Please consult our documentation at Building with extended thinking - Anthropic ````

Reading the error i understand that cursor is now misformatting the payload while being in thinking mode:

And there is no way to disable it anymore, even weirder, when i add the model: eu.anthropic.claude-3-7-sonnet-20250219-v1:0 it registered it as “thinking model” by default, therefore i cant even use it in quick edition mode (cf screenshot):

Doesnt matter where we are: Chat (Ctrl+L) , quick edit (Ctrl+K) or in terminal (Ctrl+K):

We almost always get the same error:
messages.3.content.0.type: Expected thinkingorredacted_thinking, but found text. When thinkingis enabled, a finalassistantmessage must start with a thinking block. We recommend you include thinking blocks from previous turns. To avoid this requirement, disablethinking. Please consult our documentation at https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking

Are we the only one experiencing the issue ?

Steps to Reproduce

Using Cursor

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.6
VSCode Version: 1.96.2
Commit: 5b19bac7a947f54e4caa3eb7e4c5fbf832389850
Date: 2025-06-25T02:13:33.781Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Linux x64 6.8.0-60-generic

Does this stop you from using Cursor

Yes - Cursor is unusable

3 Likes

Me and my colleagues are experiencing the same issue

Any update on this, I am getting the same error, pretty much makes the AWS Bedrock option unusable.

I’ve just downloaded the Cursor Nightly (Nightly Downloads | Cursor - The AI Code Editor) and got it working with AWS Bedrock / Claude 4 with cross-regional inference (apac.anthropic.claude-sonnet-4-20250514-v1:0)