We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6df84b + ba1b554 commit 1d64a15Copy full SHA for 1d64a15
app/utils/constants.ts
@@ -462,9 +462,6 @@ async function getOpenRouterModels(): Promise<ModelInfo[]> {
462
}
463
464
async function getLMStudioModels(_apiKeys?: Record<string, string>, settings?: IProviderSetting): Promise<ModelInfo[]> {
465
- if (typeof window === 'undefined') {
466
- return [];
467
- }
468
469
try {
470
const baseUrl = settings?.baseUrl || import.meta.env.LMSTUDIO_API_BASE_URL || 'http://localhost:1234';
0 commit comments