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

@@ -1766,9 +1766,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
ChatRequestNotebookData: extHostTypes.ChatRequestNotebookData,
LanguageModelChatMessageRole: extHostTypes.LanguageModelChatMessageRole,
LanguageModelChatMessage: extHostTypes.LanguageModelChatMessage,
LanguageModelChatMessageFunctionResultPart: extHostTypes.LanguageModelFunctionResultPart,
LanguageModelChatMessageToolResultPart: extHostTypes.LanguageModelToolResultPart,
LanguageModelChatResponseTextPart: extHostTypes.LanguageModelTextPart,
LanguageModelChatResponseFunctionUsePart: extHostTypes.LanguageModelFunctionUsePart,
LanguageModelChatResponseToolCallPart: extHostTypes.LanguageModelToolCallPart,
LanguageModelError: extHostTypes.LanguageModelError,
NewSymbolName: extHostTypes.NewSymbolName,
NewSymbolNameTag: extHostTypes.NewSymbolNameTag,