LlamaFinetuneGGUF commited on
Commit
61c2a8b
·
1 Parent(s): 802293f
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();