Skip to content

Commit d0fa967

Browse files
committed
refactor(config): keep catalog clone net neutral
1 parent f7fd5b0 commit d0fa967

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/config/defaults.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,7 @@ function buildManifestCatalogModelLookup(
206206
}
207207
}
208208
}
209-
const model = index.get(keyFor(providerId, modelId));
210-
return model ? structuredClone(model) : undefined;
209+
return structuredClone(index.get(keyFor(providerId, modelId)));
211210
};
212211
}
213212

0 commit comments

Comments
 (0)