File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -337,10 +337,10 @@ return {
337337 local system_prompt = config .system_prompt
338338
339339 async .run (function ()
340- local infos = client : info ( )
340+ local resolved_resources = copilot . resolve_functions ( prompt , config )
341341 local selected_tools = copilot .resolve_tools (prompt , config )
342342 local selected_model = copilot .resolve_model (prompt , config )
343- local resolved_resources = copilot . resolve_functions ( prompt , config )
343+ local infos = client : info ( )
344344
345345 selected_tools = vim .tbl_map (function (tool )
346346 return tool .name
Original file line number Diff line number Diff line change 515515--- @param config CopilotChat.config.Shared ?
516516--- @return CopilotChat.config.prompts.Prompt , string
517517function M .resolve_prompt (prompt , config )
518- if not prompt then
518+ if prompt == nil then
519519 local message = M .chat :get_message (constants .ROLE .USER )
520520 if message then
521521 prompt = message .content
You can’t perform that action at this time.
0 commit comments