Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinwloring1988 committed Nov 29, 2024
1 parent 802293f commit 61c2a8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,9 @@ const getOllamaBaseUrl = () => {
};

async function getOllamaModels(): Promise<ModelInfo[]> {
if (typeof window === 'undefined') {
return [];
}
//if (typeof window === 'undefined') {
//return [];
//}

try {
const baseUrl = getOllamaBaseUrl();
Expand Down

0 comments on commit 61c2a8b

Please sign in to comment.