diff options
| author | Arun Isaac | 2026-04-12 04:18:39 +0100 |
|---|---|---|
| committer | Arun Isaac | 2026-04-12 04:18:39 +0100 |
| commit | 968c5f2c9df53139729aa5356ad5a802d1c88f37 (patch) | |
| tree | 2edfa9d8b85cbdcbcd4ded76290b992a297dc5dc | |
| parent | be1495966157c20bce6c248ce3858baf9960e335 (diff) | |
| download | kaagum-968c5f2c9df53139729aa5356ad5a802d1c88f37.tar.gz kaagum-968c5f2c9df53139729aa5356ad5a802d1c88f37.tar.lz kaagum-968c5f2c9df53139729aa5356ad5a802d1c88f37.zip | |
Raise &tool-call-parse-failure when required arguments are missing.
spec->tool-call promises to raise &tool-call-parse-failure, not &tool-call-failure.
| -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 50c2603..ef5d7ed 100644 --- a/kaakaa/tools.scm +++ b/kaakaa/tools.scm @@ -187,7 +187,7 @@ names that have been respectively allowed and rejected by the user in advance." (else (and (tool-parameter-required? parameter) (raise-exception - (tool-call-failure + (tool-call-parse-failure (string-append "Error: Missing required argument " arg-name)))))))) (tool-parameters tool)) |
