From 53e0874864cbce3fbf85b89453e7ded89bfb6785 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 29 Apr 2026 16:41:55 +0100 Subject: [PATCH] fix(models): satisfy params merge lint --- src/commands/models/shared.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/models/shared.ts b/src/commands/models/shared.ts index 213783fbe7e..eb537090426 100644 --- a/src/commands/models/shared.ts +++ b/src/commands/models/shared.ts @@ -158,8 +158,8 @@ export function upsertCanonicalModelConfigEntry( ...models[legacyKey], ...models[key], params: { - ...(models[legacyKey].params ?? {}), - ...(models[key]?.params ?? {}), + ...models[legacyKey].params, + ...models[key]?.params, }, }; } else if (!models[key]) {