fix(highlight): allow override (#201)

update envvar parsing from cmdline

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-08-24 20:15:45 -04:00
committed by GitHub
parent a7d3defa3d
commit f99bf767b5
8 changed files with 62 additions and 56 deletions

View File

@@ -96,6 +96,8 @@ M.stream = function(question, code_lang, code_content, selected_content_content,
---@type AvanteCurlOutput
local spec = Provider.parse_curl_args(Provider, code_opts)
Utils.debug({ spec })
---@param line string
local function parse_stream_data(line)
local event = line:match("^event: (.+)$")