mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-02-02 19:14:54 +00:00
Merge branch 'main' into fix/start-new-chat-icon
This commit is contained in:
commit
4980a9a33c
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';
|
||||||
|
Loading…
Reference in New Issue
Block a user