@@ -66,7 +66,7 @@ local M = {
6666 local cc_chat_integration = cc_integration .chat
6767 for _ , sub_cmd in pairs (valid_tools ) do
6868 local tool_name = string.format (" vectorcode_%s" , sub_cmd )
69- if cc_config .strategies .chat .tools [tool_name ] ~= nil then
69+ if cc_config .interactions .chat .tools [tool_name ] ~= nil then
7070 vim .notify (
7171 string.format (
7272 " There's an existing tool named `%s`. Please either remove it or rename it." ,
@@ -82,7 +82,7 @@ local M = {
8282 )
8383 )
8484 else
85- cc_config .strategies .chat .tools [tool_name ] = {
85+ cc_config .interactions .chat .tools [tool_name ] = {
8686 description = string.format (" Run VectorCode %s tool" , sub_cmd ),
8787 callback = cc_chat_integration .make_tool (sub_cmd , opts .tool_opts [sub_cmd ]),
8888 opts = { requires_approval = opts .tool_opts [sub_cmd ].requires_approval },
@@ -110,7 +110,7 @@ local M = {
110110 vim .inspect (included_tools )
111111 )
112112 )
113- cc_config .strategies .chat .tools .groups [" vectorcode_toolbox" ] = {
113+ cc_config .interactions .chat .tools .groups [" vectorcode_toolbox" ] = {
114114 opts = { collapse_tools = opts .tool_group .collapse },
115115 description = " Use VectorCode to automatically build and retrieve repository-level context." ,
116116 tools = included_tools ,
0 commit comments