Replies: 1 comment 5 replies
-
Not premature at all! That is a shortcoming I realized a while after writing the implementation in the repository right now, and something I plan to address.
I'm planning to make some structural changes to how the tools are organized; until then, I'll likely hold off on accepting PRs. I hadn't considered debugging being an issue with inline definitions, but that is a good point! It's something I'll keep in mind. I've been experimenting with some reorganization schemes locally; I was planning to get something "final" into the upstream repository today, but unfortunately life caught up to me—it'll have to wait for tomorrow! Let me know if you'd like to provide some feedback on the schemes I'm considering. I'll likely expand the macro to define the function separately under a namespace, and perhaps put the tool properties in a similarly- or identical-named symbol in variable space. Still thinking, but I'll try to get something live soon! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This question might be premature, but I was wondering if you have thought about decoupling tool names (as presented to LLMs) from their implementations. One benefit would be to allow multiple implementations of common tools, such as "edit_buffer".
A related question is whether you want PR's to adhere to the format of examples currently in the repo, where they are implemented inline in the tool definition. Does this work well with debugging? I haven't tried yet. The alternative would be to put the main definitions in some separate elisp function, like at https://github.com/ultronozm/codel.el. For that approach, I'm curious if you have any thoughts on namespacing (
llm-tool-collection-whatever, I guess?).Beta Was this translation helpful? Give feedback.
All reactions