fix: removed context optimization temporarily, to be moved to optional from menu
This commit is contained in:
@@ -462,7 +462,6 @@ async function getOpenRouterModels(): Promise<ModelInfo[]> {
|
||||
}
|
||||
|
||||
async function getLMStudioModels(_apiKeys?: Record<string, string>, settings?: IProviderSetting): Promise<ModelInfo[]> {
|
||||
|
||||
try {
|
||||
const baseUrl = settings?.baseUrl || import.meta.env.LMSTUDIO_API_BASE_URL || 'http://localhost:1234';
|
||||
const response = await fetch(`${baseUrl}/v1/models`);
|
||||
|
||||
Reference in New Issue
Block a user