[BUG] Unsupported content type: redacted_thinking,Errors often occur when using the plugin.

Open 💬 32 comments Opened Mar 19, 2026 by ljbddy

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Unsupported content type: redacted_thinking
When I use the plugin in VSCode to invoke Claude Code, there is a high probability that the final output will show "Unsupported content type: redacted_thinking".

What Should Happen?

It should display the output normally.

Error Messages/Logs

Steps to Reproduce

Run the Claude plugin to conduct complex reasoning

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.79 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

32 Comments

vshongjun · 3 months ago

May I check if any solutions now? now I'm forced to shutdown the thinking module...

huermosy · 3 months ago

same problem,,, help

guneyurtlu · 3 months ago

same here

ljbddy · 3 months ago

没有找到解决方案

cmdfas · 3 months ago

same problem,,,

aaravarr · 3 months ago

If you're using OpenRouter, try this proxy: https://github.com/ahaostudy/openrouter-proxy

tannlonggtaoo · 3 months ago

Same here
Disable /thinking may help. Might be related to 3-party providers, e.g., openrouter

ThreadDao · 3 months ago

I am encountering the same issue when using the VS Code claude-code extension + OpenRouter.

icinsight · 3 months ago

Disabling thinking altogether helps. Also speeds up the processing 500% in my case! Testing the proxy now.

Bettyebear · 3 months ago

The answer will occur if you close vscode and open it again.

ylx-lance · 3 months ago

same problem T_T

icinsight · 3 months ago
Disabling thinking altogether helps. Also speeds up the processing 500% in my case! Testing the proxy now.

After two days I do not miss thinking feature. Totally redundant and wasteful (in my case at least).

0xRichBot · 3 months ago

same problem

2970322856 · 3 months ago
Same here Disable /thinking may help. Might be related to 3-party providers, e.g., openrouter

It works

ljssuifeng · 3 months ago

how to disable /thinking in vscode?

neodefier · 2 months ago

same here when using openrouter models. reopening vscode will show the answers but not during the prompt return. it works fine using claude code in the terminal but it's the vscode panel that has problems.

redacted_thinking itself is a legitimate Anthropic-style content block. It is used when thinking content is encrypted/redacted and may appear before normal text blocks. The bug is that the VS Code panel appears to get stuck or fail to render/update properly when it sees that block, even though the normal text response exists.

Brikas · 2 months ago

same problem

Xemul17 · 2 months ago

same here

Harshil74 · 2 months ago

I am also facing same issue:
Error : Unsupported content type: redacted_thinking
VS Code + Claude code extension + OpenRouter
/Thinking is off, still same issue

ankranidiotis · 2 months ago

I used Claude Code with OpenRouter directly on terminal without any issue.

MarkusMit · 2 months ago

Yes, @ankranidiotis, it only happens with the VS Code plugin, not the CLI tool

TechnoBytee · 2 months ago

Same issue here — it only happens with the VSCode plugin.
When Claude clicks the "Chats History" button in the chat panel, the messages start to appear.

wilfredom · 1 month ago

This is happening with Claude Code (Pro) on VS Code (Positron, Linux) as well.

hdeawy-breadfast · 1 month ago

Same issue on VS code plugin.

iwdt · 1 month ago

Same issue

VSCode plugin

nculimin · 1 month ago

Same issue, only in VSCode plugin

amrutejr · 1 month ago

same issue
even after disabling thinking

M-Kepler · 26 days ago

+1

DonVitsch · 24 days ago

same

yz060742 · 21 days ago

Yeah, I'm seeing this too. Looks like a bug exclusive to OpenRouter and the VS Code Claude Code extension, probably triggered by the hidden reasoning process.

zilliondotcom-lab · 15 days ago

Still have the issue using VS code + Claude code extension + openrouter.
disable the thinking more does not fix the issue.
I tested the openrouter-proxy shared earlier and did not fix the issue either.
I have to switch using the terminal that until a viable solution found

michael-lang · 14 days ago

Same issue using VS Code 1.21.0, Claude Code for VS Code extension 2.1.198 and openrouter.ai setting all models in settings to "openrouter/auto"

{
"env": {
"ANTHROPIC_BASE_URL": "https://openrouter.ai/api",
"ANTHROPIC_AUTH_TOKEN": "sk-or-v1-my-key",
"ANTHROPIC_API_KEY": "",
"ANTHROPIC_MODEL": "openrouter/auto",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "openrouter/auto",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "openrouter/auto",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "openrouter/auto",
"CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1"
},
"effortLevel": "low"
}