Tools API updates (#226493)

* Tools API updates
Support toolCallId, tool call parts in content2

* Fix
This commit is contained in:
Rob Lourens
2024-08-23 15:48:14 -07:00
committed by GitHub
parent 90245153b0
commit ed4db37c58
10 changed files with 83 additions and 67 deletions

View File

@@ -12,7 +12,7 @@ declare module 'vscode' {
export interface ChatResponseFragment2 {
index: number;
part: LanguageModelChatResponseTextPart | LanguageModelChatResponseFunctionUsePart;
part: LanguageModelChatResponseTextPart | LanguageModelChatResponseToolCallPart;
}
// @API extension ship a d.ts files for their options