microsoft / microsoft/vscode

Copliot: Explore agents terminate without prompting or producing output

Open
#334,247 0 comments 0 reactions 1 assignee Claimed by @federicobrancasi View on GitHub
stale triage-needed
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Bug

I was using 5.6 Sol and set Luna as explore agent.

Steps to reproduce:
1. Modfy the setting: "chat.agent.maxRequests": 40 (eg. reduce it)
2. Trigger in the chat exploratory session, eg. search through the source code of the large Repo

Observed behaviour:
Explore agents stop without producing result if they reach the limit of requests and parent agent says there is no output

Expected result:
It should either prompt to continue or warn in advance somehow that it might not complete successfully, because otherwise tokens are just wasted.
So the main issue is this:
The Explore agents inherit this setting. Both later agents reached turn 40 while still making tool calls. A normal top-level agent can show Continue to iterate? when it reaches the limit, but a subagent cannot interact with the user, so it terminates without producing its final report.

VS Code version: Code 1.136.0 (520fb30b2d3d324b4cb2342f6e88e2cd93751de1, 2026-09-02T09:13:42Z)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) Ultra 7 165H (22 x 3072)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x7d55 [Intel(R) Arc(TM) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.8860 *ACTIVE*
GPU1: VENDOR= 0x10de, DEVICE=0x25a9 [NVIDIA GeForce RTX 2050], DRIVER_VERSION=32.0.15.9671
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8972
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|63.46GB (33.45GB free)|
|Process Argv|--crash-reporter-id 327702f8-9fec-421a-b703-1461acc32aa3|
|Screen Reader|no|
|VM|57%|
Extensions (11)

Name|Identifier|Author|Version
---|---|---|---
PostgreSQL|ckolkman.vscode-postgres|ckolkman|1.4.3
Azure Resources|ms-azuretools.vscode-azureresourcegroups|ms-azuretools|0.12.7
C# Dev Kit|ms-dotnettools.csdevkit|ms-dotnettools|3.20.199
C#|ms-dotnettools.csharp|ms-dotnettools|2.140.9
.NET Install Tool|ms-dotnettools.vscode-dotnet-runtime|ms-dotnettools|3.1.0
Python Debugger|ms-python.debugpy|ms-python|2026.6.0
Python|ms-python.python|ms-python|2026.4.0
Pylance|ms-python.vscode-pylance|ms-python|2026.3.1
Python Environments|ms-python.vscode-python-envs|ms-python|1.36.0
Hex Editor|ms-vscode.hexeditor|ms-vscode|1.11.1
Visual Studio Keymap|ms-vscode.vs-keybindings|ms-vscode|0.2.1

A/B Experiments

```
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
diffpatch-lysithea-24-production:31577085
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
ge8j1254_inline_auto_hint_haiku:31490510
cp_cls_t_1081:31454832
conptydll_true:31498968
e9c30283:31461165
46204921:31447328
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
i2gc6536:31499202
52612955:31516516
h08i8180:31475369
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31548657
d7b18187:31526828
ahp-both-windows:31556933
ihg5j128:31534457
7g2b5551:31542111
enable_editor_pane_layout:31569726
allow-none:31555437
ac562147:31564510
c7c27ce7:31554789
1h923230:31564177
1532g621_copy:31554320
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
a1hcc538:31559322
0c1h4866:31566224
vrbsty_fls:31561059
session-archive:31558132
5b8j3302:31564601
mangle-name-control:31572633
39a5d156:31574986
2bfb8b39:31576696
permission_prompt_control:1332567
ccr_pr_nudge_adoption:1319471
vsc_wsm_t:1340632
eh853263:1370294
auto_mode_treatment:1367907

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.