Skip to content

Commit a0ba540

Browse files
authored
Merge pull request #460 from oTToDev-CE/ollama-model-not-respected
Ollama not respecting model selection
2 parents 1664055 + 61c2a8b commit a0ba540

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/utils/constants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@ const getOllamaBaseUrl = () => {
283283
};
284284

285285
async function getOllamaModels(): Promise<ModelInfo[]> {
286-
if (typeof window === 'undefined') {
287-
return [];
288-
}
286+
//if (typeof window === 'undefined') {
287+
//return [];
288+
//}
289289

290290
try {
291291
const baseUrl = getOllamaBaseUrl();

0 commit comments

Comments
 (0)