Skip to content

Commit 6c0d3ed

Browse files
authored
Fix output duplication (#1423)
1 parent 4234169 commit 6c0d3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ts/packages/dispatcher/src/execute/actionHandlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ async function executeAction(
168168
displayError(result.error, actionContext);
169169
} else {
170170
if (result.displayContent !== undefined) {
171-
actionContext.actionIO.appendDisplay(result.displayContent);
171+
actionContext.actionIO.setDisplay(result.displayContent);
172172
}
173173
if (result.dynamicDisplayId !== undefined) {
174174
systemContext.clientIO.setDynamicDisplay(

0 commit comments

Comments
 (0)