Skip to content

Commit fdc7f7c

Browse files
committed
updates
1 parent 1642a96 commit fdc7f7c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/interaction-worker/src/tools/send-message-to-agent.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,7 @@ The agent has tools for a wide variety of tasks. Use this tool often.
127127

128128
try {
129129
// Get the Durable Object stub for this execution agent
130-
const id = env.EXECUTION_WORKER.idFromName(
131-
executionAgent.id,
132-
);
130+
const id = env.EXECUTION_WORKER.idFromName(executionAgent.id);
133131
const stub = env.EXECUTION_WORKER.get(id) as any;
134132

135133
// Call the executeTask method via RPC

0 commit comments

Comments
 (0)