about summary refs log tree commit diff
path: root/kaakaa/tools.scm
diff options
context:
space:
mode:
authorArun Isaac2026-04-12 04:10:50 +0100
committerArun Isaac2026-04-12 04:11:35 +0100
commitbe1495966157c20bce6c248ce3858baf9960e335 (patch)
tree20b66adc80266b6dcf3c9c8edb8be51caffc4a8e /kaakaa/tools.scm
parenta7184e55668f54b999109479f56b6fb797ce4d44 (diff)
downloadkaagum-be1495966157c20bce6c248ce3858baf9960e335.tar.gz
kaagum-be1495966157c20bce6c248ce3858baf9960e335.tar.lz
kaagum-be1495966157c20bce6c248ce3858baf9960e335.zip
Let tool kinds be constants, rather than functions.
It makes little sense for a tool kind to be a function of the tool
call arguments.
Diffstat (limited to 'kaakaa/tools.scm')
-rw-r--r--kaakaa/tools.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/kaakaa/tools.scm b/kaakaa/tools.scm
index dc97492..50c2603 100644
--- a/kaakaa/tools.scm
+++ b/kaakaa/tools.scm
@@ -234,7 +234,7 @@ available tools to their respective @code{<tool>} objects."
            (tool-call-result (tool-call-session-id tool-call)
                              (tool-call-id tool-call)
                              (apply (tool-title tool) args)
-                             (apply (tool-kind tool) args)
+                             (tool-kind tool)
                              (tool-call-arguments tool-call)
                              `(("role" . "tool")
                                ("tool_call_id" . ,(tool-call-id tool-call))