Skip to content

Commit fce1298

Browse files
authored
fix(nvim): properly define empty parameter schema in vectorcode_ls (#252)
* fix(nvim): Add empty parameters to ls_tool * fix(nvim): Add empty properties to ls_tool parameters
1 parent 31694ae commit fce1298

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

lua/vectorcode/integrations/codecompanion/ls_tool.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ return function(opts)
6363
Retrieve a list of projects accessible via the VectorCode tools.
6464
Where relevant, use paths from this tool as the `project_root` parameter in other vectorcode tools.
6565
]],
66+
parameters = {
67+
-- make anthropic models happy.
68+
type = "object",
69+
properties = vim.empty_dict(),
70+
required = {},
71+
additionalProperties = false,
72+
},
6673
},
6774
},
6875
output = {

0 commit comments

Comments
 (0)