File tree Expand file tree Collapse file tree
lua/vectorcode/integrations Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77local async = require (" plenary.async" )
88local vc_config = require (" vectorcode.config" )
9+ local logger = vc_config .logger
910local notify_opts = vc_config .notify_opts
1011local check_cli_wrap = vc_config .check_cli_wrap
1112local job_runner = nil
@@ -47,6 +48,7 @@ local make_context_provider = check_cli_wrap(function(opts)
4748 max_num = 5 ,
4849 use_lsp = vc_config .get_user_config ().async_backend == " lsp" ,
4950 }, opts or {})
51+ logger .info (" Creating CopilotChat context provider with the following opts:\n " , opts )
5052
5153 local utils = require (" CopilotChat.utils" )
5254
@@ -86,7 +88,7 @@ local make_context_provider = check_cli_wrap(function(opts)
8688 if try_root ~= nil then
8789 vim .list_extend (args , { " --project_root" , try_root })
8890 end
89-
91+ logger . info ( " CopilotChat ctx provider called with the following args: " , args )
9092 local result , err = run_job (args , opts .use_lsp , source .bufnr )
9193 if utils .empty (result ) and err then
9294 error (utils .make_string (err ))
You can’t perform that action at this time.
0 commit comments