You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log('⚠️ Warning: Found provider files not in MODELS_DEV_KEYS:');
234
+
unmappedProviders.forEach((file)=>
235
+
console.log(` - ${file}.ts (not synced)`),
236
+
);
237
+
console.log(
238
+
' Add these to MODELS_DEV_KEYS if they should be synced.\n',
239
+
);
240
+
241
+
if(shouldUpdate){
242
+
constwarningMessage=unmappedProviders
243
+
.map((file)=>`- \`${file}.ts\``)
244
+
.join('\n');
245
+
fs.writeFileSync(
246
+
'warnings.txt',
247
+
`⚠️ **Warning**: The following provider files are not in \`MODELS_DEV_KEYS\` and were not synced:\n\n${warningMessage}\n\nIf these should be synced with models.dev, add them to \`MODELS_DEV_KEYS\` in \`sync-models.ts\`.`,
248
+
'utf-8',
249
+
);
250
+
}
251
+
}
252
+
215
253
constmodelsDevData=awaitfetchModelsDevData();
216
254
217
255
console.log('📊 Comparing models for each provider:\n');
0 commit comments