From 61c2a8b325f134a4ec40fd753e4ca82ab49944ef Mon Sep 17 00:00:00 2001 From: Dustin Loring Date: Fri, 29 Nov 2024 13:12:47 -0500 Subject: [PATCH] fix --- app/utils/constants.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/utils/constants.ts b/app/utils/constants.ts index 17fe9d8..fcbb3f7 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();