Merge branch 'main' into fix-variable-name

This commit is contained in:
Anirban Kar
2024-12-16 19:53:01 +05:30
committed by GitHub
10 changed files with 67 additions and 19 deletions

View File

@@ -1 +1 @@
{ "commit": "885e104f279ab8b63d31e0759cbb675c2a409cc5" }
{ "commit": "6ba93974a02a98c83badf2f0002ff4812b8f75a9" }

View File

@@ -6,7 +6,7 @@ import type { IProviderConfig } from '~/types/model';
import { logStore } from '~/lib/stores/logs';
// Import a default fallback icon
import DefaultIcon from '/icons/Ollama.svg'; // Adjust the path as necessary
import DefaultIcon from '/icons/Default.svg'; // Adjust the path as necessary
export default function ProvidersTab() {
const { providers, updateProviderSettings, isLocalModel } = useSettings();

View File

@@ -499,8 +499,6 @@ async function getLMStudioModels(_apiKeys?: Record<string, string>, settings?: I
}));
} catch (e: any) {
logStore.logError('Failed to get LMStudio models', e, { baseUrl: settings?.baseUrl });
logger.warn('Failed to get LMStudio models: ', e.message || '');
return [];
}
}