Cole Medin commited on
Commit
a0ba540
·
unverified ·
2 Parent(s): 1664055 61c2a8b

Merge pull request #460 from oTToDev-CE/ollama-model-not-respected

Browse files
Files changed (1) hide show
  1. app/utils/constants.ts +3 -3
app/utils/constants.ts CHANGED
@@ -283,9 +283,9 @@ const getOllamaBaseUrl = () => {
283
  };
284
 
285
  async function getOllamaModels(): Promise<ModelInfo[]> {
286
- if (typeof window === 'undefined') {
287
- return [];
288
- }
289
 
290
  try {
291
  const baseUrl = getOllamaBaseUrl();
 
283
  };
284
 
285
  async function getOllamaModels(): Promise<ModelInfo[]> {
286
+ //if (typeof window === 'undefined') {
287
+ //return [];
288
+ //}
289
 
290
  try {
291
  const baseUrl = getOllamaBaseUrl();