branch: externals/ellama
commit 8a80c7d6d6525f8eaccc5c7b59be0d97c82ad3e9
Author: Sergey Kostyaev <[email protected]>
Commit: Sergey Kostyaev <[email protected]>
Rename task tool function to follow naming conventions
---
ellama-tools.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ellama-tools.el b/ellama-tools.el
index 1b52fa81d7..0ef6524ef5 100644
--- a/ellama-tools.el
+++ b/ellama-tools.el
@@ -747,7 +747,7 @@ CALLBACK will be used to report result asyncronously."
:session session
:on-done #'ellama--subagent-loop-handler)))))
-(defun ellama-tool-task (callback description &optional role)
+(defun ellama-tools-task-tool (callback description &optional role)
"Delegate DESCRIPTION to a sub-agent asynchronously.
CALLBACK – function called once with the result string.
@@ -819,7 +819,7 @@ When the task is COMPLETE you MUST call `report_result`
exactly once."
nil))
(ellama-tools-define-tool
- `(:function ellama-tool-task
+ `(:function ellama-tools-task-tool
:name "task"
:async t
:description "Delegate a task to a sub-agent."