feat: add model-registry-helper.sh for provider/model registry with periodic sync (t132.2)#761
feat: add model-registry-helper.sh for provider/model registry with periodic sync (t132.2)#761marcusquinn merged 1 commit intomainfrom
Conversation
…eriodic sync (t132.2) Create SQLite-backed model registry that syncs from three sources: 1. Subagent frontmatter (models/*.md tier definitions) 2. Embedded data (compare-models-helper.sh MODEL_DATA pricing/capabilities) 3. Provider APIs (Anthropic, OpenAI, Google, OpenRouter, Groq, DeepSeek) Commands: sync, list, status, check, suggest, deprecations, diff, export Features: 24h sync cache, normalized name matching across naming conventions, JSON/CSV export, provider/tier filtering, backup-before-sync safety. Design decisions: - SQLite storage matches existing framework patterns (memory, mail, supervisor) - Normalized name matching handles claude-3-5-haiku vs claude-haiku-3.5 variants - Bidirectional LIKE + normalization ensures subagent-to-registry matching works across different provider naming conventions (preview suffixes, date suffixes) - Reuses shared-constants.sh, init_log_file, backup_sqlite_db patterns
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Mon Feb 9 05:10:38 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|
All 8 subtasks of t132 (Cross-Provider Model Routing) are now complete: - t132.1: Model-specific subagents (PR #758) - t132.2: Provider/model registry (PR #761) - t132.3: Model availability checker (PR #770) - t132.4: Fallback chain config (PR #781) - t132.5: Supervisor model resolution (PR #787) - t132.6: Quality gate with escalation (PR #788) - t132.7: Multi-provider runner/cron support (PR #789) - t132.8: Cross-model review workflow (PR #791) Also fixed stale git conflict markers in TODO.md.



Summary
model-registry-helper.sh— a SQLite-backed provider/model registry that syncs from subagent frontmatter, embedded pricing data, and live provider APIssync,list,status,check,suggest,deprecations,diff,exportclaude-3-5-haikuvsclaude-haiku-3.5)Task
Closes subtask t132.2 of the Cross-Provider Model Routing plan (t132). Unblocks t132.3 (Model availability checker).
Changes
.agents/scripts/model-registry-helper.sh.agents/tools/ai-assistants/models/README.md.agents/tools/context/model-routing.md.agents/subagent-index.toonDesign Decisions
--forceoverridesbackup_sqlite_dbpatternTesting
All commands tested end-to-end:
sync --force— 5 tiers synced, 17 models from embedded datalist/list --provider Anthropic— correct filteringstatus/status --json— health metrics and tier mappingcheck— all 5 subagent tiers match registry entriesdiff— correctly identifies matched vs unmatched modelssuggest/deprecations— working (empty results expected without API keys)export --json/export --csv— valid output