microsoft / microsoft/vscode

Chat Window's `LLM Request Failed` message is too big, and unnecessary.

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

Description

Does this issue occur when all extensions are disabled?: Yes

- VS Code Version: 1.136.1
- OS Version: Windows 11

Steps to Reproduce:

1. Have a poor connection or a busy LLM server.
2. When your LLM fails to respond, you get something like:

```
Sorry, your request failed. Please try again.

Client Request Id: 50ca576c-c977-44f4-a875-af2445bd0ef9

Reason: Response contained no choices.: Error: Response contained no choices. at yH._provideLanguageModelResponse (c:\Users\Farshid Mossaiby\AppData\Local\Programs\Microsoft VS Code\a44adf7f53\resources\app\extensions\copilot\dist\extension.js:1592:15149) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async yH.provideLanguageModelResponse (c:\Users\Farshid Mossaiby\AppData\Local\Programs\Microsoft VS Code\a44adf7f53\resources\app\extensions\copilot\dist\extension.js:1592:16262)
```

Most of the message does not help at all. When I hit `Retry` it stays there, while you hide or fold much more important data. And no automatic retry if you are not in Auto-pilot mode. Even then it goes only 4 times (I am not sure if you can increase it). The next issue is that you will not get Auto-pilot if you have burnt your quota!

Should be easy to fix, right?

Thank you!

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.