This commit is contained in:
Timothy Jaeryang Baek 2026-08-13 21:31:49 -06:00
parent 653562d660
commit b4738d1a2e

View file

@ -778,6 +778,11 @@
};
const setProviderDownloadConnections = async () => {
if ($user?.role !== 'admin') {
providerDownloadConnections = [];
return;
}
const openaiConfig = await getOpenAIConfig(localStorage.token).catch(() => null);
providerDownloadConnections =
openaiConfig?.ENABLE_OPENAI_API