Skip to content

Commit

Permalink
Merge pull request #460 from oTToDev-CE/ollama-model-not-respected
Browse files Browse the repository at this point in the history
Ollama not respecting model selection
  • Loading branch information
coleam00 authored Nov 29, 2024
2 parents 1664055 + 61c2a8b commit a0ba540
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 a0ba540

Please sign in to comment.