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
|
||||
|
||||
t[k].setup()
|
||||
if k == Config.provider then
|
||||
t[k].setup()
|
||||
end
|
||||
|
||||
return t[k]
|
||||
end,
|
||||
|
Loading…
x
Reference in New Issue
Block a user