remove ChatMessage and add types LanguageModelMessage types so that they can evolve at their own pace

https://github.com/microsoft/vscode/issues/199908
This commit is contained in:
Johannes
2024-02-13 15:42:19 +01:00
parent 4194cbfdf8
commit 72d1ad1be8
8 changed files with 102 additions and 33 deletions

View File

@@ -1665,6 +1665,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
ChatResponseCommandButtonPart: extHostTypes.ChatResponseCommandButtonPart,
ChatAgentRequestTurn: extHostTypes.ChatAgentRequestTurn,
ChatAgentResponseTurn: extHostTypes.ChatAgentResponseTurn,
LanguageModelSystemMessage: extHostTypes.LanguageModelSystemMessage,
LanguageModelUserMessage: extHostTypes.LanguageModelUserMessage,
LanguageModelAssistantMessage: extHostTypes.LanguageModelAssistantMessage,
};
};
}