diff options
| author | Arun Isaac | 2026-04-14 00:30:01 +0100 |
|---|---|---|
| committer | Arun Isaac | 2026-04-14 00:30:01 +0100 |
| commit | 75f7692f10d7d05aaffe48cea5348086f34932da (patch) | |
| tree | c4acb7ee5d306078fda69cebc61ab441258ef228 | |
| parent | 163bc20ce90a6c6f378a868b04541421894578be (diff) | |
| download | kaagum-75f7692f10d7d05aaffe48cea5348086f34932da.tar.gz kaagum-75f7692f10d7d05aaffe48cea5348086f34932da.tar.lz kaagum-75f7692f10d7d05aaffe48cea5348086f34932da.zip | |
Remove duplicate tool call status update.
| -rw-r--r-- | kaagum/tea.scm | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/kaagum/tea.scm b/kaagum/tea.scm index efcc212..8c6be2d 100644 --- a/kaagum/tea.scm +++ b/kaagum/tea.scm @@ -533,21 +533,6 @@ and a list of effects." (assertion-violation selection "Invalid selection"))) <>) - ;; Update tool status. - (put (compose tool-call-status - (state-tool-call (tool-call-id tool-call) - session-id)) - (cond - ((eq? selection 'cancel) 'cancelled) - ((memq selection '(allow-once allow-always)) - 'approved) - ((memq selection '(reject-once reject-always)) - 'rejected) - ;; This branch should be unreachable. - (else - (assertion-violation selection - "Invalid selection"))) - <>) ;; If the tool call was cancelled, set the cancelling flag ;; to indicate that a cancellation is in progress. (put (state-session-cancelling? session-id) |
