branch: externals/ellama
commit d0ab7b23fb8776832d9705c9ee3bded1c02d8218
Author: Sergey Kostyaev <[email protected]>
Commit: Sergey Kostyaev <[email protected]>
Silence agent compaction declaration warnings
Update the forward declaration for ellama--session-compact to accept
variadic keyword arguments so byte and native compilation no longer warn about
repeated-error compaction calls.
---
ellama-tools.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ellama-tools.el b/ellama-tools.el
index 7604531260..3eda84e0d8 100644
--- a/ellama-tools.el
+++ b/ellama-tools.el
@@ -4144,8 +4144,7 @@ ERROR-CB is called on non-tool LLM errors to track
consecutive failures."
text session buffer system
(ellama-tools--make-agent-error-callback session)))))
-(declare-function ellama--session-compact "ellama"
- (session &key automatic on-done))
+(declare-function ellama--session-compact "ellama" (session &rest args))
(defun ellama-tools--agent-error-message (err)
"Return human-readable message for agent loop ERR."