eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
19.38k stars 2.45k forks source link

[vscode] Stub Chat and Language Model API #13778

Closed rschnekenbu closed 1 week ago

rschnekenbu commented 1 month ago

What it does

Stub the API for chat and Language Models introduced in VS Code 1.90. Closes #13756

Status of the report when comparing with vscode 1.90: status.zip

How to test

  1. Start the theia browser example on master and install the following extension (derived from vscode sample extension chat-sample):

  2. On extension activation, some error messages are displayed in the console.

  3. With the PR, the API does not show any error on extension startup. extension context and calls to chat/lm namespaces do not throw any error.

Follow-ups

Real implementation of the API is tracked here: #13777

Review checklist

Reminder for reviewers