Skip to content

virtual environment is never activated by agent  #25300

@ChefJayTay

Description

@ChefJayTay

Type: Bug

Copilot Chat Agent never remembers this project runs in a venv. Whenever a new conversation starts, and the agent attempts to run a command, it's never in the venv. It then tries to install the missing packages.

Extension version: 0.29.1
VS Code version: Code 1.102.1 (7adae6a56e34cb64d08899664b814cf620465925, 2025-07-15T16:41:17.147Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux arm64 6.12.34+rpt-rpi-2712

System Info
Item Value
CPUs AMD Ryzen 7 5700G with Radeon Graphics (16 x 3793)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.79GB (47.90GB free)
Process Argv --crash-reporter-id 4528b28f-4bff-434a-bbc6-2480b53c5418
Screen Reader no
VM 0%
Item Value
Remote SSH: Saffron
OS Linux arm64 6.12.34+rpt-rpi-2712
CPUs Cortex-A76 (4 x 1500)
Memory (System) 7.86GB (4.58GB free)
VM 0%

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions