@blockrun/clawrouter 0.12.23 → 0.12.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8235,13 +8235,6 @@ function injectModelsConfig(logger) {
|
|
|
8235
8235
|
needsWrite = true;
|
|
8236
8236
|
}
|
|
8237
8237
|
const allowlist = defaults.models;
|
|
8238
|
-
const topSet = new Set(TOP_MODELS.map((id) => `blockrun/${id}`));
|
|
8239
|
-
for (const key of Object.keys(allowlist)) {
|
|
8240
|
-
if (key.startsWith("blockrun/") && !topSet.has(key)) {
|
|
8241
|
-
delete allowlist[key];
|
|
8242
|
-
needsWrite = true;
|
|
8243
|
-
}
|
|
8244
|
-
}
|
|
8245
8238
|
let addedCount = 0;
|
|
8246
8239
|
for (const id of TOP_MODELS) {
|
|
8247
8240
|
const key = `blockrun/${id}`;
|