Merge branch 'main' into fix/start-new-chat-icon
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -37,3 +37,6 @@ modelfiles
|
|||||||
|
|
||||||
# docs ignore
|
# docs ignore
|
||||||
site
|
site
|
||||||
|
|
||||||
|
# commit file ignore
|
||||||
|
app/commit.json
|
||||||
@@ -1 +1 @@
|
|||||||
{ "commit": "1764145ba4cd8a4cf10f4dc89ac9abf6fd1a00fd" }
|
{ "commit": "1d64a15ed0110fc62091b1dca90139de9fb9fdb4" }
|
||||||
@@ -462,9 +462,6 @@ async function getOpenRouterModels(): Promise<ModelInfo[]> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function getLMStudioModels(_apiKeys?: Record<string, string>, settings?: IProviderSetting): Promise<ModelInfo[]> {
|
async function getLMStudioModels(_apiKeys?: Record<string, string>, settings?: IProviderSetting): Promise<ModelInfo[]> {
|
||||||
if (typeof window === 'undefined') {
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const baseUrl = settings?.baseUrl || import.meta.env.LMSTUDIO_API_BASE_URL || 'http://localhost:1234';
|
const baseUrl = settings?.baseUrl || import.meta.env.LMSTUDIO_API_BASE_URL || 'http://localhost:1234';
|
||||||
|
|||||||
Reference in New Issue
Block a user