fix: don't automatically setup openai when its not the configured provider (#237)
This commit is contained in:
parent
c75dc48356
commit
26409d94b5
@ -251,7 +251,9 @@ M = setmetatable(M, {
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if k == Config.provider then
|
||||||
t[k].setup()
|
t[k].setup()
|
||||||
|
end
|
||||||
|
|
||||||
return t[k]
|
return t[k]
|
||||||
end,
|
end,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user