fix: add generate-tool-belt-prompt alias for cognitive-tool-prompt
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s
Another naming drift: think() calls generate-tool-belt-prompt but the actual function was cognitive-tool-prompt in core-defpackage.
This commit is contained in:
@@ -217,6 +217,10 @@
|
|||||||
(format nil "Available tools:~%~a" (apply #'concatenate 'string (sort descriptions #'string<)))
|
(format nil "Available tools:~%~a" (apply #'concatenate 'string (sort descriptions #'string<)))
|
||||||
"No tools registered.")))
|
"No tools registered.")))
|
||||||
|
|
||||||
|
;; Alias: generate-tool-belt-prompt → cognitive-tool-prompt
|
||||||
|
(defun generate-tool-belt-prompt ()
|
||||||
|
(cognitive-tool-prompt))
|
||||||
|
|
||||||
(defun log-message (msg &rest args)
|
(defun log-message (msg &rest args)
|
||||||
"Centralized, thread-safe logging for the harness."
|
"Centralized, thread-safe logging for the harness."
|
||||||
(let ((formatted-msg (apply #'format nil msg args)))
|
(let ((formatted-msg (apply #'format nil msg args)))
|
||||||
|
|||||||
@@ -270,6 +270,10 @@ Tools that the LLM can invoke are registered here. Each tool has a name, descrip
|
|||||||
(if descriptions
|
(if descriptions
|
||||||
(format nil "Available tools:~%~a" (apply #'concatenate 'string (sort descriptions #'string<)))
|
(format nil "Available tools:~%~a" (apply #'concatenate 'string (sort descriptions #'string<)))
|
||||||
"No tools registered.")))
|
"No tools registered.")))
|
||||||
|
|
||||||
|
;; Alias: generate-tool-belt-prompt → cognitive-tool-prompt
|
||||||
|
(defun generate-tool-belt-prompt ()
|
||||||
|
(cognitive-tool-prompt))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Centralized logging (log-message)
|
*** Centralized logging (log-message)
|
||||||
|
|||||||
Reference in New Issue
Block a user