diff options
| author | Arun Isaac | 2026-11-15 04:32:58 +0000 |
|---|---|---|
| committer | Arun Isaac | 2026-11-15 04:37:05 +0000 |
| commit | c99e852353cbb2d5b4a289f30f616f75af6fed18 (patch) | |
| tree | b46e1db8489d9dcfa41c34e7c3612463a5f8cb72 | |
| parent | ff1654b03a6fca92572b1ca25ce68221cc340208 (diff) | |
| download | kaagum-c99e852353cbb2d5b4a289f30f616f75af6fed18.tar.gz kaagum-c99e852353cbb2d5b4a289f30f616f75af6fed18.tar.lz kaagum-c99e852353cbb2d5b4a289f30f616f75af6fed18.zip | |
Do not put JSON tree into <user-message>; put only the text.
| -rw-r--r-- | kaagum/tea.scm | 5 |
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" |
