Skip to content

Commit 6b72c4e

Browse files
committed
artifactDelta needs to actually have diff
1 parent 7160bf8 commit 6b72c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/chat/chat.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ export class ChatComponent implements OnInit, AfterViewInit, OnDestroy {
632632
}
633633

634634
private processActionArtifact(e: AdkEvent) {
635-
if (e.actions && e.actions.artifactDelta) {
635+
if (e.actions && e.actions.artifactDelta && Object.keys(e.actions.artifactDelta).length > 0) {
636636
this.storeEvents(null, e);
637637
this.storeMessage(null, e, 'bot');
638638
}

0 commit comments

Comments
 (0)