Skip to content

Commit

Permalink
fix: LM Studio sending messgae
Browse files Browse the repository at this point in the history
LM Studio was not able to send a message now it is.
  • Loading branch information
dustinwloring1988 committed Dec 13, 2024
1 parent 5f34051 commit ba1b554
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 ba1b554

Please sign in to comment.