mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 15:20:44 +00:00
refactor(lint): enable map spread rule
This commit is contained in:
@@ -93,5 +93,7 @@ export function buildMistralModelDefinition(): ModelDefinitionConfig {
|
||||
}
|
||||
|
||||
export function buildMistralCatalogModels(): ModelDefinitionConfig[] {
|
||||
return MISTRAL_MODEL_CATALOG.map((model) => ({ ...model, input: [...model.input] }));
|
||||
return MISTRAL_MODEL_CATALOG.map((model) =>
|
||||
Object.assign({}, model, { input: [...model.input] }),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user