Skip to content

Commit a1a104f

Browse files
spamcraftgameclaude
andcommitted
feat: update model catalog daily instead of weekly
Changed the LiteLLM model/pricing sync from Monday-only to every day at 6 AM UTC so the Compare AI Models page stays current as providers release and reprice models throughout the week. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 16a1c9c commit a1a104f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ TensorFeed.ai is an AI news aggregator and real-time data hub built for humans a
2424
- Every 2 min: Status page polling
2525
- Every 10 min: RSS feed fetching from all sources
2626
- Every hour: Full refresh
27-
- Monday 6am UTC: Model catalog and pricing update from LiteLLM
27+
- Daily 6am UTC: Model catalog and pricing update from LiteLLM
2828

2929
## KV Operation Limits (CRITICAL)
3030
Cloudflare free tier has 100,000 KV operations/day. To stay within limits:

worker/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@ export default {
440440
await pollRSSFeeds(env);
441441
await pollStatusPages(env);
442442
await pollPodcastFeeds(env);
443-
} else if (cron === '0 6 * * 1') {
444-
// Weekly (Monday 6 AM UTC): update models & agents catalog
443+
} else if (cron === '0 6 * * *') {
444+
// Daily (6 AM UTC): update models & agents catalog
445445
await updateCatalog(env);
446446
// X/Twitter auto-posting DISABLED 2026-04-04 (account flagged as spam).
447447
// Safe limits for new accounts: 1-2 posts/day for first month, then 3-4/day max.

worker/wrangler.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ crons = [
1212
"*/10 * * * *",
1313
"*/5 * * * *",
1414
"0 * * * *",
15-
"0 6 * * 1",
15+
"0 6 * * *",
1616
"30 8 * * *",
1717
# X/Twitter auto-posting DISABLED (account flagged as spam, 2026-04-04)
1818
# When re-enabling, start with 1 post/day: "30 14 * * *"

0 commit comments

Comments
 (0)