From 22682a7255ecea4a9a4c3be71cdb868ff88563f3 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 12 Nov 2026 02:57:56 +0000 Subject: Replace message JSON trees with purpose-built record types. --- tests/tea.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/tea.scm b/tests/tea.scm index 651bec3..76f92b4 100644 --- a/tests/tea.scm +++ b/tests/tea.scm @@ -17,6 +17,7 @@ ;;; along with kaagum. If not, see . (use-modules (srfi srfi-64) + (kaagum message) (kaagum monads) (kaagum openai) (kaagum tea)) @@ -42,8 +43,8 @@ (run-with-state (acp-effects (llm-response 0 "gen-1793743825" - '(("role" . "assistant") - ("content" . "Hello! How can I help you today?")) + (assistant-message "Hello! How can I help you today?" + '()) 1770 13 0 @@ -60,8 +61,8 @@ (run-with-state (acp-effects (llm-response 0 "gen-1793743825" - '(("role" . "assistant") - ("content" . "Hello! How can I help you today?")) + (assistant-message "Hello! How can I help you today?" + '()) 1770 13 0 -- cgit 1.4.1