about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--kaagum/tea.scm5
1 files changed, 4 insertions, 1 deletions
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"