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`);
|
// console.log(`[shengsuanyun-models] Discovered ${models.length} LLM models`);
|
||||||
return models;
|
return models;
|
||||||
} catch (error) {
|
} catch {
|
||||||
// console.warn(`[shengsuanyun-models] Discovery failed: ${String(error)}`);
|
// console.warn(`[shengsuanyun-models] Discovery failed: ${String(error)}`);
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
@ -247,7 +247,7 @@ export async function discoverShengSuanYunModalityModels(): Promise<ModelDefinit
|
|||||||
|
|
||||||
// console.log(`[shengsuanyun-modalities] Discovered ${models.length} modality models`);
|
// console.log(`[shengsuanyun-modalities] Discovered ${models.length} modality models`);
|
||||||
return models;
|
return models;
|
||||||
} catch (error) {
|
} catch {
|
||||||
// console.warn(`[shengsuanyun-modalities] Discovery failed: ${String(error)}`);
|
// console.warn(`[shengsuanyun-modalities] Discovery failed: ${String(error)}`);
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user