properly convert/send image type to extension (#230166)

* properly convert and send type to ext

* switch to new type that includes mimeType

* add new type

* use thenable

* change to proposed

* fix whitespace
This commit is contained in:
Justin Chen
2024-10-01 23:02:01 +00:00
committed by GitHub
parent 9b7f3e7845
commit 7bbd14551f
5 changed files with 47 additions and 1 deletions

View File

@@ -1772,6 +1772,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
ChatLocation: extHostTypes.ChatLocation,
ChatRequestEditorData: extHostTypes.ChatRequestEditorData,
ChatRequestNotebookData: extHostTypes.ChatRequestNotebookData,
ChatReferenceBinaryData: extHostTypes.ChatReferenceBinaryData,
LanguageModelChatMessageRole: extHostTypes.LanguageModelChatMessageRole,
LanguageModelChatMessage: extHostTypes.LanguageModelChatMessage,
LanguageModelChatMessageToolResultPart: extHostTypes.LanguageModelToolResultPart,