-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
ide:vscodeRelates specifically to VS Code extensionRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on WindowsHappening specifically on Windows
Description
Before submitting your bug report
- I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- I'm not able to find a related conversation on GitHub discussions that reports the same bug
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: Windows 11 with WSL2
- Continue version: 1.3.30
- IDE version: VSCode 1.108.2
- Model: Z.AI GLM 4.7
- config: https://www.continue.dev/geoff-thornton/vscode-zaiDescription
Environment
| Component | Version/Detail |
|---|---|
| OS | Windows 11 Build 26100 |
| VS Code | 1.108.2 |
| Continue Extension | 1.3.30 |
| Remote | WSL2 / Docker Dev Container |
| Dev Container OS | Linux |
| Node.js | 22.21.1 |
| Shell in Container | bash 5.2.37(1)-release |
| Electron | 39.2.7 (Build 12953945) |
| Chromium | 142.0.7444.235 |
| V8 | 14.2.231.21-electron.0 |
Confirmed Environment Variables
Dev Container Detection (Present):
REMOTE_CONTAINERS="true"
REMOTE_CONTAINERS_IPC="/tmp/vscode-remote-containers-ipc-..."
REMOTE_CONTAINERS_SOCKETS="[\"/tmp/.X11-unix/X2\"]"
SHELL="/bin/bash"
PWD="/app"Continue Extension Environment (Missing):
CONTINUE_DEV_MODE="" # Not set
CONTINUE_TELEMETRY_ENABLED="" # Not set
VSCODE_REMOTE_CONTAINERS_SESSION="" # Not set
VSCODE_REMOTE_SERVER="" # Not set
VSCODE_REMOTE_USER="" # Not setDescription
runTerminalCommand tool fails with error when Continue VS Code extension is installed on local Windows machine and tries to execute commands in a WSL2/Dev Container environment:
run_terminal_command failed with message: spawn powershell.exe ENOENT
Please try something else or request further instructions.```
### To reproduce
Ask the Continue agent to run a terminal script:
```I'm trying to debug an AI agent tool to run commands in a terminal. Can you request to run a harmless command like "echo Hello, world!"```
<img width="470" height="211" alt="Image" src="https://github.com/user-attachments/assets/ea8473f0-a7f4-4e72-9194-b8ec0274f720" />
The agent (GLM 4.7) thinks about the request and then generates a `run_terminal_command` request:
<img width="468" height="297" alt="Image" src="https://github.com/user-attachments/assets/3ae82898-2bc1-46e9-b72e-53e7c22a6415" />
Clicking on "Run" sends the command to the VSCode terminal window properly, but if you try to "Accept" the request to run the command, you get the following error:
<img width="462" height="170" alt="Image" src="https://github.com/user-attachments/assets/d8289314-cc27-4a1f-a388-f16ddb0a7146" />
run_terminal_command failed with message: spawn powershell.exe ENOENT
Please try something else or request further instructions.```
Log output
I'm not sure what logs are revelant, so I saved the entire console log and attached the file above.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ide:vscodeRelates specifically to VS Code extensionRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on WindowsHappening specifically on Windows
Type
Projects
Status
Todo