mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
Add the ability to clear a ChatResponseStream, passing in a reason which results in a warning being displayed (#257271) (#259370)
* Add the ability to clear a ChatResponseStream, passing in a reason which results in a warning being displayed * Changing ChatResponseStream.clear to ChatResponseStream.clearToPreviousToolInvocation and only clearing up to the last tool invocation * Remove unnecessary code block Co-authored-by: James Wang <120431051+jwangxx@users.noreply.github.com>
This commit is contained in:
@@ -1859,6 +1859,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
ChatPrepareToolInvocationPart: extHostTypes.ChatPrepareToolInvocationPart,
|
||||
ChatResponseMultiDiffPart: extHostTypes.ChatResponseMultiDiffPart,
|
||||
ChatResponseReferencePartStatusKind: extHostTypes.ChatResponseReferencePartStatusKind,
|
||||
ChatResponseClearToPreviousToolInvocationReason: extHostTypes.ChatResponseClearToPreviousToolInvocationReason,
|
||||
ChatRequestTurn: extHostTypes.ChatRequestTurn,
|
||||
ChatRequestTurn2: extHostTypes.ChatRequestTurn,
|
||||
ChatResponseTurn: extHostTypes.ChatResponseTurn,
|
||||
|
||||
Reference in New Issue
Block a user