From 361956056d5b918c41b35f30b763bf401cc5cc7a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 9 Apr 2026 18:49:41 +0100 Subject: Do not repeat tool title, kind and rawInput. It is enough to send the tool title, kind and rawInput the first time when the tool call is created. There is no need to send these fields repeatedly in subsequent updates. Subsequent updates need only mention fields that have actually changed. --- kaakaa/tea.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kaakaa/tea.scm b/kaakaa/tea.scm index 8129ad1..61b00f3 100644 --- a/kaakaa/tea.scm +++ b/kaakaa/tea.scm @@ -492,8 +492,6 @@ state and a list of effects." ;; TODO: Add locations and rawOutput. ("sessionUpdate" . "tool_call_update") ("toolCallId" . ,(tool-call-result-call-id result)) - ("title" . ,(tool-call-result-title result)) - ("kind" . ,(tool-call-result-kind result)) ("status" . ,(if (tool-call-result-success? result) "completed" @@ -503,8 +501,7 @@ state and a list of effects." ("content" ("type" . "text") ("text" . ,(focus (key-ref "content") - (tool-call-result-json result))))) - ("rawInput" . ,(tool-call-result-arguments result)))))) + (tool-call-result-json result))))))))) (state->llm-requests session-id state))))) (define (next-state state message tools) -- cgit 1.4.1