From b6ecb57f4635c5a211c3a57d55175903277ce9b0 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 9 Apr 2026 18:48:11 +0100 Subject: Send tool_call_update instead of tool_call for tool call updates. A sessionUpdate of "tool_call" must only be sent when the tool call is created. Further updates must send a sessionUpdate of "tool_call_update". --- kaakaa/tea.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kaakaa/tea.scm b/kaakaa/tea.scm index 0f53db6..8129ad1 100644 --- a/kaakaa/tea.scm +++ b/kaakaa/tea.scm @@ -364,7 +364,7 @@ and a list of effects. ("params" ("sessionId" . ,session-id) ("update" - ("sessionUpdate" . "tool_call") + ("sessionUpdate" . "tool_call_update") ("toolCallId" . ,call-id) ("status" . "failed")))))))))) (let ((call (spec->tool-call session-id @@ -490,7 +490,7 @@ state and a list of effects." ("sessionId" . ,session-id) ("update" ;; TODO: Add locations and rawOutput. - ("sessionUpdate" . "tool_call") + ("sessionUpdate" . "tool_call_update") ("toolCallId" . ,(tool-call-result-call-id result)) ("title" . ,(tool-call-result-title result)) ("kind" . ,(tool-call-result-kind result)) -- cgit 1.4.1