diff --git a/app/utils/constants.ts b/app/utils/constants.ts index 17fe9d8af..fcbb3f724 100644 --- a/app/utils/constants.ts +++ b/app/utils/constants.ts @@ -283,9 +283,9 @@ const getOllamaBaseUrl = () => { }; async function getOllamaModels(): Promise { - if (typeof window === 'undefined') { - return []; - } + //if (typeof window === 'undefined') { + //return []; + //} try { const baseUrl = getOllamaBaseUrl();