style: auto-fix ESLint issues (curly braces and formatting)
- Add curly braces to all if/else/for/while statements - Fix indentation and trailing spaces - Auto-fixed 372 linting errors using eslint --fix - Remaining issues are warnings only (non-null assertions, explicit any types)
This commit is contained in:
+3
-3
@@ -152,9 +152,9 @@ const checkModelConnectivity: Check = async (ctx) => {
|
||||
|
||||
// Build a summary of the model stack
|
||||
const parts = [`default: ${model.provider}/${model.model}`];
|
||||
if (models.fast) parts.push(`fast: ${models.fast.provider}/${models.fast.model}`);
|
||||
if (models.complex) parts.push(`complex: ${models.complex.provider}/${models.complex.model}`);
|
||||
if (models.local) parts.push(`local: ${models.local.provider}/${models.local.model}`);
|
||||
if (models.fast) {parts.push(`fast: ${models.fast.provider}/${models.fast.model}`);}
|
||||
if (models.complex) {parts.push(`complex: ${models.complex.provider}/${models.complex.model}`);}
|
||||
if (models.local) {parts.push(`local: ${models.local.provider}/${models.local.model}`);}
|
||||
parts.push(`fallback: [${models.fallback_chain.join(', ')}]`);
|
||||
|
||||
return { status: 'pass', label: 'Model connectivity', detail: parts.join(', ') };
|
||||
|
||||
Reference in New Issue
Block a user