From 3e283de567f5701a2be639bdacdac2c3cfdb088a Mon Sep 17 00:00:00 2001 From: Bhavya U Date: Sun, 7 Jul 2024 12:57:40 -0700 Subject: [PATCH] Convert confirmation part in chat panel response (#220128) * Convert confirmation part * Move conversion to ChatResponsePart * Fix indent --- src/vs/workbench/api/common/extHostTypeConverters.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/api/common/extHostTypeConverters.ts b/src/vs/workbench/api/common/extHostTypeConverters.ts index 36f83b564e0b3..6fad560a437c9 100644 --- a/src/vs/workbench/api/common/extHostTypeConverters.ts +++ b/src/vs/workbench/api/common/extHostTypeConverters.ts @@ -2557,6 +2557,8 @@ export namespace ChatResponsePart { return ChatResponseDetectedParticipantPart.from(part); } else if (part instanceof types.ChatResponseWarningPart) { return ChatResponseWarningPart.from(part); + } else if (part instanceof types.ChatResponseConfirmationPart) { + return ChatResponseConfirmationPart.from(part); } return {