mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 23:59:43 +01:00
api - update todos, rename makeChatRequest (#206240)
This commit is contained in:
@@ -1437,7 +1437,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
checkProposedApiEnabled(extension, 'languageModels');
|
||||
return extHostChatProvider.onDidChangeProviders(listener, thisArgs, disposables);
|
||||
},
|
||||
makeChatRequest(languageModel: string, messages: vscode.LanguageModelMessage[], optionsOrToken: { [name: string]: any } | vscode.CancellationToken, token?: vscode.CancellationToken) {
|
||||
chatRequest(languageModel: string, messages: vscode.LanguageModelMessage[], optionsOrToken: { [name: string]: any } | vscode.CancellationToken, token?: vscode.CancellationToken) {
|
||||
checkProposedApiEnabled(extension, 'languageModels');
|
||||
let options: Record<string, any>;
|
||||
if (CancellationToken.isCancellationToken(optionsOrToken)) {
|
||||
|
||||
Reference in New Issue
Block a user