fix(env): skip for setting up from local (#286)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
parent
37f0cf1d33
commit
a4929104cb
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user