Skip to content

vscode plugin experiences (timeout?) errors in ask mode #8

@vugenti

Description

@vugenti

Working with VSCode plugin, using "AGENT" or "ASK" mode and providing several files, after a few turns in the conversation and with a relatively small amount of context used, VS Code often "gives up" while lemonade server is still processing the request (quite often at 99% complete - but depends on the complexity of the prompt and what other applications are running in the background) and responds with an error. I am guessing it is some form of timeout as the message is indicating "terminated at Fetch.onAborted" - I looked for but could not find any configuration for timeout settings - is this within lemonade and/or is there any way for the plugin to influence or improve the experience in this situation:

Sorry, your request failed. Please try again.

Copilot Request id: [redacted]

Reason: terminated: TypeError: terminated at Fetch.onAborted (node:internal/deps/undici/undici:11322:53) at Fetch.emit (node:events:519:28) at Fetch.terminate (node:internal/deps/undici/undici:10480:14) at Object.onError (node:internal/deps/undici/undici:11445:38) at Request.onError (c:\Users\redacted\AppData\Local\Programs\Microsoft VS Code Insiders\37f3964564\resources\app\node_modules\undici\lib\core\request.js:316:27) at Object.errorRequest (c:\Users\redacted\AppData\Local\Programs\Microsoft VS Code Insiders\37f3964564\resources\app\node_modules\undici\lib\core\util.js:798:13) at Socket.onHttpSocketClose (c:\Users\redacted\AppData\Local\Programs\Microsoft VS Code Insiders\37f3964564\resources\app\node_modules\undici\lib\dispatcher\client-h1.js:928:10) at Socket.emit (node:events:531:35) at TCP. (node:net:346:12) at TCP.callbackTrampoline (node:internal/async_hooks:130:17)

This is the actual context used at the time the error occurred:

Image

Hardware - AMD Ryzen AI Max 395+ w/ 128GB RAM

VS Code Insiders version info:

Version: 1.110.0-insider (user setup)
Commit: 37f39645643438347f1b5077abdaa96e7297fa7c
Date: 2026-02-27T03:12:42.551Z
Electron: 39.6.1
ElectronBuildId: 13369494
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions