fix: don't automatically setup openai when its not the configured provider (#237)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user