Skip to content

Commit 6fbb34a

Browse files
authored
feat(core): set a delay after invoking interaction (#1393)
1 parent bd29efb commit 6fbb34a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/src/agent/tasks.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,8 @@ export class TaskExecutor {
526526
await actionFn(param, context);
527527
debug('called action', action.name);
528528

529+
await sleep(300); // wait for the action to complete
530+
529531
try {
530532
if (this.interface.afterInvokeAction) {
531533
debug('will call "afterInvokeAction" for interface');

0 commit comments

Comments
 (0)