-
-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Describe the bug
The vectorcode_query tool for the CodeCompanion integration is set to return absolute paths to files, here and here.
This does not align with the general policy in CodeCompanion in which paths should be relative to the cwd. (see olimorris/codecompanion.nvim#1633).
To Reproduce
This causes failures consistently when prompting something like:
@{vectorcode_query} for files containing the definition of
SomeObjectand @{insert_edit_into_file} a booleanvalidfield.
because the @{insert_edit_into_file} tool expects a relative path.
Expected behavior
On one hand, CodeCompanion should probably be able to accept any path and then make them relative.
Still, since relative paths are the default in VectorCode, it might be easier to just remove the --absolute flag altogether.
Platform information:
OS: Linux
$ nvim -v
NVIM v0.11.3
Build type: Release
LuaJIT 2.1.1741730670