feat(api): support native chat mode (#541)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-09-05 02:43:31 -04:00
committed by GitHub
parent a8ef7de7d8
commit 29e109e447
7 changed files with 45 additions and 23 deletions

View File

@@ -73,9 +73,9 @@ M.build = function(opts)
local output = stdout
if #output == 0 then
table.insert(output, "")
Utils.info("outputs: " .. output)
Utils.debug(output)
else
Utils.error("error: " .. stderr)
Utils.debug(stderr)
end
end
end)
@@ -87,6 +87,7 @@ end
---@class AskOptions
---@field question? string optional questions
---@field win? table<string, any> windows options similar to |nvim_open_win()|
---@field ask? boolean
---@param opts? AskOptions
M.ask = function(opts)