Skip to content

Commit

Permalink
Merge pull request #47 from oTToDev-CE/ollama-model-not-respected
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
dustinwloring1988 authored Nov 29, 2024
2 parents b9eb739 + 61c2a8b commit ec210b9
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 @@ -284,9 +284,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 ec210b9

Please sign in to comment.