diff options
| author | Arun Isaac | 2026-04-12 04:10:50 +0100 |
|---|---|---|
| committer | Arun Isaac | 2026-04-12 04:11:35 +0100 |
| commit | be1495966157c20bce6c248ce3858baf9960e335 (patch) | |
| tree | 20b66adc80266b6dcf3c9c8edb8be51caffc4a8e /kaakaa/tools.scm | |
| parent | a7184e55668f54b999109479f56b6fb797ce4d44 (diff) | |
| download | kaagum-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.scm | 2 |
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)) |
