fix(env): skip for setting up from local (#286)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-08-27 12:57:53 -04:00
committed by GitHub
parent 37f0cf1d33
commit a4929104cb

View File

@@ -174,7 +174,7 @@ E.setup = function(opts)
opts.provider.setup()
-- check if var is a all caps string
if var == M.AVANTE_INTERNAL_KEY or var:match("^cmd:(.*)") then
if var == M.AVANTE_INTERNAL_KEY or var:match("^cmd:(.*)") or opts.providers["local"] == true then
return
end