[VSCode Extension] Unsupported content type: redacted_thinking when using OpenRouter
Status Closed — duplicate
Maintainer reply None cached
Activity 3 comments · opened Mar 22, 2026 · closed Mar 26, 2026
Bug Description
When using Claude Code VSCode extension with OpenRouter as the API provider,
the extension throws an error "Unsupported content type: redacted_thinking"
and the final text response is also lost (swallowed).
Environment
- Client: Claude Code VSCode Extension
- API Provider: OpenRouter (not direct Anthropic API)
- Model: Models with Extended Thinking enabled (e.g. claude-sonnet-4-6)
Steps to Reproduce
- Configure Claude Code VSCode extension to use OpenRouter
- Use a model that returns
redacted_thinkingcontent blocks - Send any message
Expected Behavior
- Either render the thinking content, or silently skip it and display the final text response
Actual Behavior
- Extension throws:
Unsupported content type: redacted_thinking - Final text response is also lost because stream processing aborts on the unknown content type
Additional Notes
- The CLI (terminal) version handles this correctly — no error occurs there
- Issue is specific to the VSCode extension's response rendering layer
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗