LlamaFinetuneGGUF commited on
Commit
4980a9a
·
unverified ·
2 Parent(s): 69ec309 c4a94d6

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

Browse files
Files changed (3) hide show
  1. .gitignore +3 -0
  2. app/commit.json +1 -1
  3. 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": "1764145ba4cd8a4cf10f4dc89ac9abf6fd1a00fd" }
 
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';