microsoft / microsoft/vscode

[Error] chatagenterror-Language model unavailable

Open
#326,356 1 comment 0 reactions 1 assignee Claimed by @bryanchen-d View on GitHub
agents ai-analyzed ai-generated bug error-telemetry
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

## Error Message
````
chatagenterror-Language model unavailable
````

## Stack Trace
    at i.getModelForRequest ([./src/vs/workbench/api/common/extHostChatAgents2.ts:900:10](https://github.com/microsoft/vscode/blob/102df5b59f1c706f14aee2259d4ec60a6acee55c/src/vs/workbench/api/common/extHostChatAgents2.ts#L900))
    at async i.$invokeAgent ([./src/vs/workbench/api/common/extHostChatAgents2.ts:950:17](https://github.com/microsoft/vscode/blob/102df5b59f1c706f14aee2259d4ec60a6acee55c/src/vs/workbench/api/common/extHostChatAgents2.ts#L950))

Raw Stack Trace (minified)

````
Error: Language model unavailable at i.getModelForRequest (out/vs/workbench/api/node/extensionHostProcess.js:529:18796) at async i.$invokeAgent (out/vs/workbench/api/node/extensionHostProcess.js:529:19712)
````

## Details
| Property | Value |
| --- | --- |
| Bucket ID | [`a2c5b056-ec2f-1903-98df-4ad6beae5b6f`](https://errors.code.visualstudio.com/bucket/a2c5b056-ec2f-1903-98df-4ad6beae5b6f?product=Agents&extension=core&commit=102df5b59f1c706f14aee2259d4ec60a6acee55c) |
| Version | 1.118.0-insider |
| Commit | [`102df5b5`](https://insiders.vscode.dev/github/microsoft/vscode/tree/102df5b59f1c706f14aee2259d4ec60a6acee55c) |
| Last Seen | Wed Apr 29 2026 11:13:49 GMT+0000 (Coordinated Universal Time) |
| Platforms | Windows, Mac |
| Product | Agents |

---
*This issue was automatically created from the VS Code Errors Dashboard*

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.