mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-05 20:46:43 +00:00
Merge branch 'main' into fix/ui-enhancements
This commit is contained in:
commit
461cf27fc7
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": "56944de6337f5283f96f197e11432fee32c085b9" }
|
{ "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