Merge branch 'main' into fix/start-new-chat-icon
Browse files- .gitignore +3 -0
- app/commit.json +1 -1
- app/utils/constants.ts +0 -3
.gitignore
CHANGED
|
@@ -37,3 +37,6 @@ modelfiles
|
|
| 37 |
|
| 38 |
# docs ignore
|
| 39 |
site
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
# docs ignore
|
| 39 |
site
|
| 40 |
+
|
| 41 |
+
# commit file ignore
|
| 42 |
+
app/commit.json
|
app/commit.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{ "commit": "
|
|
|
|
| 1 |
+
{ "commit": "1d64a15ed0110fc62091b1dca90139de9fb9fdb4" }
|
app/utils/constants.ts
CHANGED
|
@@ -462,9 +462,6 @@ async function getOpenRouterModels(): Promise<ModelInfo[]> {
|
|
| 462 |
}
|
| 463 |
|
| 464 |
async function getLMStudioModels(_apiKeys?: Record<string, string>, settings?: IProviderSetting): Promise<ModelInfo[]> {
|
| 465 |
-
if (typeof window === 'undefined') {
|
| 466 |
-
return [];
|
| 467 |
-
}
|
| 468 |
|
| 469 |
try {
|
| 470 |
const baseUrl = settings?.baseUrl || import.meta.env.LMSTUDIO_API_BASE_URL || 'http://localhost:1234';
|
|
|
|
| 462 |
}
|
| 463 |
|
| 464 |
async function getLMStudioModels(_apiKeys?: Record<string, string>, settings?: IProviderSetting): Promise<ModelInfo[]> {
|
|
|
|
|
|
|
|
|
|
| 465 |
|
| 466 |
try {
|
| 467 |
const baseUrl = settings?.baseUrl || import.meta.env.LMSTUDIO_API_BASE_URL || 'http://localhost:1234';
|