diff options
| author | Arun Isaac | 2026-11-12 02:57:56 +0000 |
|---|---|---|
| committer | Arun Isaac | 2026-11-13 00:48:31 +0000 |
| commit | 22682a7255ecea4a9a4c3be71cdb868ff88563f3 (patch) | |
| tree | 9c1b03a06d1b02915e60f9443fc8f34ce167b899 /tests | |
| parent | d26ee82c36e11eaf1aa25dfb9d1cb7cf3ff734c1 (diff) | |
| download | kaagum-22682a7255ecea4a9a4c3be71cdb868ff88563f3.tar.gz kaagum-22682a7255ecea4a9a4c3be71cdb868ff88563f3.tar.lz kaagum-22682a7255ecea4a9a4c3be71cdb868ff88563f3.zip | |
Replace message JSON trees with purpose-built record types.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/tea.scm | 9 |
1 files changed, 5 insertions, 4 deletions
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 <https://www.gnu.org/licenses/>. (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 |
