Convert confirmation part in chat panel response (#220128)

* Convert confirmation part

* Move conversion to ChatResponsePart

* Fix indent
This commit is contained in:
Bhavya U 2024-07-07 12:57:40 -07:00 committed by GitHub
parent 477d23310b
commit 3e283de567
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {