Cmd + K with Deepseek R1 produces `<think>` tags within code

Not sure if this was resolved in 0.45 (I have 0.44.11) but just noting that if you use Cmd + K inline editing mode with Deepseek R1, it actually prints the <think>...</think> tags within the code itself as part of the inline edit.

Not a huge deal since I usually use a smaller model for inline edits, but thought I’d try it out and discovered that. Just wanted to flag.

Hey, yes, we are aware of this. I hope it will be fixed soon. Thank you for sharing.

2 Likes

I believe we may be removing R1 as model in CMD+K, as it’s not really fit for purpose. You could still use it in Composer, and apply the changes instead.

1 Like

Agree, actually think this is the really the correct fix for this, I never have a need for anything more substantial with Cmd + K edits (and if I do, Composer is the solution anyways).