mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 21:11:38 +01:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user