From c99e852353cbb2d5b4a289f30f616f75af6fed18 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 15 Nov 2026 04:32:58 +0000 Subject: Do not put JSON tree into ; put only the text. --- kaagum/tea.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kaagum/tea.scm b/kaagum/tea.scm index e50cca9..ca05f52 100644 --- a/kaagum/tea.scm +++ b/kaagum/tea.scm @@ -499,7 +499,10 @@ in @code{tea-loop}." (state-begin (state-let* ((state (current-state))) (set-current-state (push (state-messages session-id) - (user-message prompt) + ;; TODO: Allow more than one + ;; content block. + (user-message (focus (in-json 0 "text") + prompt)) state))) (llm-requests session-id)))))) ("session/cancel" -- cgit 1.4.1