Skip to content

Commit

Permalink
fix: lm studio fix
Browse files Browse the repository at this point in the history
LM Studio was unable to receive messages sending message.
  • Loading branch information
dustinwloring1988 authored Dec 13, 2024
2 parents b6df84b + ba1b554 commit 1d64a15
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,6 @@ async function getOpenRouterModels(): Promise<ModelInfo[]> {
}

async function getLMStudioModels(_apiKeys?: Record<string, string>, settings?: IProviderSetting): Promise<ModelInfo[]> {
if (typeof window === 'undefined') {
return [];
}

try {
const baseUrl = settings?.baseUrl || import.meta.env.LMSTUDIO_API_BASE_URL || 'http://localhost:1234';
Expand Down

0 comments on commit 1d64a15

Please sign in to comment.