fix: lint error.
This commit is contained in:
parent
2213530dba
commit
e597c6d398
@ -167,7 +167,7 @@ export async function discoverShengSuanYunModels(): Promise<ModelDefinitionConfi
|
||||
|
||||
// console.log(`[shengsuanyun-models] Discovered ${models.length} LLM models`);
|
||||
return models;
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// console.warn(`[shengsuanyun-models] Discovery failed: ${String(error)}`);
|
||||
return [];
|
||||
}
|
||||
@ -247,7 +247,7 @@ export async function discoverShengSuanYunModalityModels(): Promise<ModelDefinit
|
||||
|
||||
// console.log(`[shengsuanyun-modalities] Discovered ${models.length} modality models`);
|
||||
return models;
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// console.warn(`[shengsuanyun-modalities] Discovery failed: ${String(error)}`);
|
||||
return [];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user