Skip to content

Commit 1bc6793

Browse files
ahhh
1 parent 72d076d commit 1bc6793

2 files changed

Lines changed: 0 additions & 34 deletions

File tree

.github/workflows/sync-ai-models.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,6 @@ jobs:
4545
echo "exit_code=$EXIT_CODE" >> $GITHUB_OUTPUT
4646
exit 0
4747
48-
- name: Read warnings
49-
if: steps.check-models.outputs.exit_code == '1'
50-
id: warnings
51-
run: |
52-
if [ -f warnings.txt ]; then
53-
echo "HAS_WARNINGS=true" >> $GITHUB_OUTPUT
54-
{
55-
echo 'WARNINGS<<EOF'
56-
cat warnings.txt
57-
echo EOF
58-
} >> $GITHUB_OUTPUT
59-
else
60-
echo "HAS_WARNINGS=false" >> $GITHUB_OUTPUT
61-
fi
62-
6348
- name: Commit and push to branch
6449
if: steps.check-models.outputs.exit_code == '1'
6550
run: |
@@ -91,14 +76,6 @@ jobs:
9176
#
9277
# **Review the file changes** to see which models were added or removed for each provider.
9378
#
94-
# ${{ steps.warnings.outputs.HAS_WARNINGS == 'true' && format('
95-
#
96-
# ---
97-
#
98-
# {0}
99-
#
100-
# ', steps.warnings.outputs.WARNINGS) || '' }}
101-
#
10279
# ### What to Check
10380
#
10481
# - ✅ New models are legitimate and available

packages/openops/src/lib/ai/sync-models.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -237,17 +237,6 @@ async function main() {
237237
console.log(
238238
' Add these to MODELS_DEV_KEYS if they should be synced.\n',
239239
);
240-
241-
if (shouldUpdate) {
242-
const warningMessage = 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-
}
251240
}
252241

253242
const modelsDevData = await fetchModelsDevData();

0 commit comments

Comments
 (0)