Modify LM api based on feedback (#261645)

* API feedback

* Some further API cleanup

* Some API stuff

* Try more cleanup

* CI please pass

* READONLY
This commit is contained in:
Logan Ramos
2025-08-14 16:59:44 -04:00
committed by GitHub
parent 15dba1928a
commit f6b2bec410
14 changed files with 111 additions and 157 deletions

View File

@@ -15,8 +15,8 @@ suite('chat', () => {
disposables = [];
// Register a dummy default model which is required for a participant request to go through
disposables.push(lm.registerChatModelProvider('test-lm-vendor', {
async prepareLanguageModelChat(_options, _token) {
disposables.push(lm.registerLanguageModelChatProvider('test-lm-vendor', {
async prepareLanguageModelChatInformation(_options, _token) {
return [{
id: 'test-lm',
name: 'test-lm',