Skip to content

Running terminal commands in Agent mode results in an error (WSL) #5996

@KNChiu

Description

@KNChiu

Before submitting your bug report

Relevant environment info

- OS: Win11
- Continue version: v1.0.11
- IDE version: 1.95.3
- Model: Claude Sonnet 4
- config:
  
name: Local Assistant
version: 1.0.0
schema: v1
models:
  - name: AWS Claude 4 Sonnet
    provider: bedrock
    model: us.anthropic.claude-sonnet-4-20250514-v1:0
    env:
      region: us-east-1
      profile: bedrock
    capabilities:
      - tool_use
    roles:
      - chat
      - edit
      - apply

context:
  - provider: codebase
  - provider: file
  - provider: currentFile
  - provider: code
  - provider: diff
  - provider: web
    params:
      n: 5
  - provider: terminal
  - provider: problems
  - provider: folder
  - provider: codebase
  


  OR link to assistant in Continue hub:

Description

Ask in Agent Mode: run python --version
Image

But if I press the upper right button Run, It will be automatically pasted to the terminal below but will not be executed
Image

Pressing Enter will execute correctly
Image

No response

To reproduce

No response

Log output

Metadata

Metadata

Labels

area:context-providersRelates to context providerskind:bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions