From cd392d22d8eab48c1d18d7b26c167dda8ee10bb7 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Mon, 17 Mar 2025 14:12:27 -0700 Subject: [PATCH] fix: Dont send a human message on interrupt resume --- .../hooks/use-interrupted-actions.tsx | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/components/thread/agent-inbox/hooks/use-interrupted-actions.tsx b/src/components/thread/agent-inbox/hooks/use-interrupted-actions.tsx index 705149c..3cab16a 100644 --- a/src/components/thread/agent-inbox/hooks/use-interrupted-actions.tsx +++ b/src/components/thread/agent-inbox/hooks/use-interrupted-actions.tsx @@ -87,14 +87,6 @@ export default function useInterruptedActions({ { command: { resume: response, - update: { - messages: [ - { - type: "human", - content: `Sending type '${response[0].type}' to interrupt...`, - }, - ], - }, }, }, ); @@ -266,14 +258,6 @@ export default function useInterruptedActions({ { command: { goto: END, - update: { - messages: [ - { - type: "human", - content: "Marking thread as resolved.", - }, - ], - }, }, }, );