Before submitting your bug report
Relevant environment info
- OS: macOS 15.5
- Continue version: 1.0.15, 1.1.52 (all versions after 1.0.11)
- IDE version: VSCode 1.101.2
- Model: irrelevant
- config: (deleted my config and recreated the basic template one for local assistant)
name: Local Assistant
version: 1.0.0
schema: v1
models:
- name: GPT-4o
provider: openai
model: gpt-4o
apiKey: foobar
chatOptions:
baseSystemMessage: >-
<important_rules>
You are in chat mode.
If the user asks to make changes to files offer that they can use the Apply Button on the code block, or switch to Agent Mode to make the suggested updates automatically.
If needed consisely explain to the user they can switch to agent mode using the Mode Selector dropdown and provide no other details.
Always include the language and file name in the info string when you write code blocks.
If you are editing "src/main.py" for example, your code block should start with 'python src/main.py'
When addressing code modification requests, present a concise code snippet that
emphasizes only the necessary changes and uses abbreviated placeholders for
unmodified sections.
Since users have access to their complete file, they prefer reading only the
relevant modifications. It's perfectly acceptable to omit unmodified portions
at the beginning, middle, or end of files using these "lazy" comments. Only
provide the complete file when explicitly requested. Include a concise explanation
of changes unless the user specifically asks for code only.
</important_rules>
You are an expert software developer. You give helpful and concise
responses.
context:
provider: code
provider: docs
provider: diff
provider: terminal
provider: problems
provider: folder
provider: codebase
Description
What I expect to happen: With installs of Continue in VS Code up to plugin version 1.0.11, I've previously been able to attach and also paste clipboard images into the Chat (like from a screenshot) without issue. Image pasting works with both with cmd+V and with right click, context menu "Paste" option.
Now on a newer version, I'm unable to paste image into the Chat prompt from clipboard (either with cmd+V shortcut or with right-click paste action). Images can still be attached using the image attach icon, just not via clipboard paste action.
I've cleared my entire config.yaml to test and added a basic gpt-4o with placeholder api key. I still can't paste an image but can attach image, so I don't think config.yaml is to blame. I have validated switching to 1.0.11 fixes the issue (using install specific version action in the VS Code extension window). I've also confirmed the issue can be reproduced on a second machine.
To reproduce
Install any version of VS Code plugin version greater than 1.0.11, attempt to paste an image from clipboard using paste keyboard shortcut (cmd+v on my mac) or right-click Paste context action. Nothing will appear.
Using 1.0.11 regains the expected behavior, so I'm not aware of any other configuration issues that are causing this. I have switched back and forth from 1.0.11 to 1.0.12-1.0.15 multiple times, each time the paste functionality is lost with any version greater than 1.0.11
Log output
In the Developer Tools with verbose console logging enabled, I see `[Violation] 'setTimeout' handler took 66ms` each time I paste (variable time 50-100 ms or so) originating from `XCircleIcon.js:40`. The pasted image appears in the Network tab, just not in the Chat dialog as before (like with attached images)
Before submitting your bug report
Relevant environment info
Description
What I expect to happen: With installs of Continue in VS Code up to plugin version 1.0.11, I've previously been able to attach and also paste clipboard images into the Chat (like from a screenshot) without issue. Image pasting works with both with cmd+V and with right click, context menu "Paste" option.
Now on a newer version, I'm unable to paste image into the Chat prompt from clipboard (either with cmd+V shortcut or with right-click paste action). Images can still be attached using the image attach icon, just not via clipboard paste action.
I've cleared my entire config.yaml to test and added a basic gpt-4o with placeholder api key. I still can't paste an image but can attach image, so I don't think config.yaml is to blame. I have validated switching to 1.0.11 fixes the issue (using install specific version action in the VS Code extension window). I've also confirmed the issue can be reproduced on a second machine.
To reproduce
Install any version of VS Code plugin version greater than 1.0.11, attempt to paste an image from clipboard using paste keyboard shortcut (cmd+v on my mac) or right-click Paste context action. Nothing will appear.
Using 1.0.11 regains the expected behavior, so I'm not aware of any other configuration issues that are causing this. I have switched back and forth from 1.0.11 to 1.0.12-1.0.15 multiple times, each time the paste functionality is lost with any version greater than 1.0.11
Log output