saoudrizwan / claude-dev

Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.
https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev
MIT License
4.04k stars 381 forks source link

Copy paste is not working with OpenRouter Deepseek-coder chat field #153

Closed arttus closed 2 weeks ago

arttus commented 3 weeks ago

For some reason, copy/paste is not working with OpenRouter Deepseek-coder. If I switch to another model I can paste into the chat window.

soulforsoup commented 3 weeks ago

Same here. Mac OS.

saoudrizwan commented 3 weeks ago

Is this happening after/during a CLI command is executed? I just ran into this issue myself, but pasting works otherwise.

arttus commented 2 weeks ago

I only see the issue on Deepseek, other models C/P works fine.

jginstitute commented 2 weeks ago

Is this happening after/during a CLI command is executed? I just ran into this issue myself, but pasting works otherwise.

I just installed ClaudeDev for the first time ever, put in my OpenRouter key, picked Deepseek, and was immediately faced with the same issue (can't paste into chat). After I went to settings and changed the model to Sonnet, paste worked.

After some testing, I found that the Mistral model also suffers from the same issue!

So the current workaround is to change the model to anything other than Deepseek or Mistral, perform the paste, and then set the model back to Deepseek or Mistral.

kun321 commented 2 weeks ago

The intention should be: If the model does not support images, then paste is disabled, not considering that paste is text

lucacri commented 2 weeks ago

Please, allow for pasting even in non-multi modal models, and maybe just strip out any image if it was included in the clipboard

saoudrizwan commented 2 weeks ago

Fixed in v1.5.1