-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Description
Type: Bug
I am encountering a persistent loop error when using the built-in "Take a screenshot" feature in Copilot. The automated capture process generates an image that exceeds the system's own technical limits, causing the request to fail before it can even be processed.
Error Message received:
Reason: Request Failed: 400 {"message":"messages.5.content.213.image.source.base64.data: At least one of the image dimensions exceed max allowed size for many-image requests: 2000 pixels"}
Steps to reproduce:
Use the "Take a screenshot" command or button within Copilot on a high-resolution display (e.g., 4K or Ultrawide).
Copilot triggers the automated capture.
The system returns an Error 400 because the captured image is larger than 2000px.
The chat enters a loop where it is impossible to retry or fix the capture within the same session.
Expected behavior:
The automated screenshot tool should automatically downscale or compress the image to fit the 2000px limit before sending it to the model, or provide a cropping tool to stay within limits.
Environment:
OS: Windows 10/11
Copilot Version: [Précisez ici : Web, Windows App, or Edge Sidebar]
Screen Resolution: [Indiquez votre résolution, ex: 2560x1440 or 3840x2160]
Extension version: 0.38.2
VS Code version: Code 1.110.1 (61b3d0a, 2026-03-06T23:03:27.520Z)
OS version: Windows_NT x64 10.0.26200
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) Ultra 7 155H (22 x 2995) |
| GPU Status | 2d_canvas: enabled GPU0: VENDOR= 0x8086, DEVICE=0x7d55 [Intel(R) Arc(TM) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.8247 ACTIVE GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.7309 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 webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 31.32GB (14.96GB free) |
| Process Argv | --crash-reporter-id 3cf6bc2a-c5a7-4629-9853-c375d85ad98c |
| Screen Reader | no |
| VM | 0% |
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
63221493:31336333
envsactivate1:31464700
cloudbuttont:31379625
aihoversummaries_f:31469309
3efgi100_wstrepl:31403338
55ia6109:31457054
use-responses-api:31390855
je187915:31401257
ec5jj548:31422691
cp_cls_t_966_ss:31454198
4je02754:31466945
find_all_ref_in_bg_t:31469306
ge8j1254_inline_auto_hint_haiku:31431912
nes-autoexp-10:31446583
a5gib710:31434435
00h15499_gpt_53_codex:31464542
7a04d226_do_not_restore_last_panel_session:31438103
31c7i317_no_change:31465101
preserve_tokens:31444547
cp_cls_c_1081:31454833
copilot-nes-oct-trt:31432596
ia-use-proxy-models-svc:31452481
a43f0574:31442827
e9c30283:31461165
test_treatment2:31471001
ts_provider_enabled:31458190
nes-conv-2-3:31474331
g_63ac8346:31467999
9c05b404_max_request_50:31468594
idci7584:31464702
edit_mode_hidden:31461530
864ei723_large_tool_results_to_disk:31460878
showingstats:31471631
ei9d7968:31458072
b1f5h706:31471673
nes-extended-on:31455476
chat:31457767
0h66b693:31473807
ah:31460422
jdddd261:31472041
nes-rcnt-ctrl:31471618
cpptoolson-v2:31473885
thinking_effort_h:31471653
f0268191:31471593
thinking_c:31471065
hb10i343:31473549