Skip to content

Commit

Permalink
Update constants.ts
Browse files Browse the repository at this point in the history
fixes the 'WARN Constants Failed to get LMStudio models:  fetch failed' error as the user most likely just has it active in provider
  • Loading branch information
dustinwloring1988 committed Dec 15, 2024
1 parent c4f94aa commit 2819911
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,6 @@ async function getLMStudioModels(_apiKeys?: Record<string, string>, settings?: I
}));
} catch (e: any) {
logStore.logError('Failed to get LMStudio models', e, { baseUrl: settings?.baseUrl });
logger.warn('Failed to get LMStudio models: ', e.message || '');

return [];
}
}
Expand Down

0 comments on commit 2819911

Please sign in to comment.