Merge branch 'main' into fix/start-new-chat-icon

This commit is contained in:
Dustin Loring
2024-12-13 13:57:02 -05:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

3
.gitignore vendored
View File

@@ -37,3 +37,6 @@ modelfiles
# docs ignore
site
# commit file ignore
app/commit.json

View File

@@ -1 +1 @@
{ "commit": "1764145ba4cd8a4cf10f4dc89ac9abf6fd1a00fd" }
{ "commit": "1d64a15ed0110fc62091b1dca90139de9fb9fdb4" }

View File

@@ -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';