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

@@ -107,6 +107,7 @@ function Suggestion:suggest()
Llm.stream({
bufnr = bufnr,
ask = true,
file_content = code_content,
code_lang = filetype,
instructions = vim.json.encode(doc),