Add a callback before applying changes to the files. #415
antosha417
started this conversation in
Ideas
Replies: 1 comment
-
Totally up for this. Perhaps if in the config we have something like: tools = {
["editor"] = {
callback = "strategies.chat.tools.editor",
description = "Update a buffer with the LLM's response",
opts = {
handlers = {
after = function() end,
}
}
},
} Would welcome this as a PR! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What do you think about adding a callback that will be called before codecompanion would apply the chages to the file?
My use case is that I want to commit that file automatically before any changes are applied to it.
Beta Was this translation helpful? Give feedback.
All reactions