V-0.46.3: ASK MODE - Claude 3.7 Thinking Responds in Plain Text not Code Boxes that you can press "Apply to Code"

Description

When using Claude 3.7 THINKING in ASK Mode, code responses sometimes render as plain text with triple backticks (```python) instead of as proper, applicable code blocks with the “Apply to my_file.py” button. This inconsistency makes it impossible to directly apply code changes to files in these instances.

Steps to Reproduce

  1. Open Cursor (Version 0.46.3)

  2. Start a conversation with Claude 3.7 Sonnet Thinking

  3. Ask Claude to modify or rewrite code in a file

  4. Observe that sometimes the response shows as a proper code block with “Apply to m4.py” button

  5. But other times, the response shows as plain text with triple backticks without the apply button

Impact

This issue significantly disrupts workflow as it requires manually copying and pasting code when the proper “Apply” interface doesn’t appear, increasing the chance of errors and reducing productivity.

Environment

  • OS: macOS 15.1 (24B83)

  • Hardware: MacBook Pro 16-inch (M3 Max, 36GB RAM)

  • Cursor Version: 0.46.3

  • Model: Claude 3.7 Sonnet

Reproducibility

Inconsistent but frequent. Appears to happen more often with longer code responses or when asking for complete file rewrites.

Screenshots

I have screenshots showing both the correct behavior (with the “Apply to m4.py” button) and the incorrect behavior (with just plain text code blocks that can’t be applied).

You can see that its RANDOMLY glitched some parts get CAUGHT in the proper Apply box some just stubbed out as plain text

Additional Notes

The issue seems specific to Claude 3.7 Sonnet on the Ask interface. When the bug occurs, the only workaround is to manually copy and paste the code, which is error-prone and inefficient.