Skip to content

Add endpoint enrichment and computed flags to fetch-models#17

Merged
williamw merged 3 commits intomasterfrom
MKT-88-streamline-json
Mar 16, 2026
Merged

Add endpoint enrichment and computed flags to fetch-models#17
williamw merged 3 commits intomasterfrom
MKT-88-streamline-json

Conversation

@williamw
Copy link
Contributor

@williamw williamw commented Mar 16, 2026

Summary

  • Enhance fetch-models.js to resolve endpoint URLs per model via the /endpoints API (with subdomain fallback)
  • Flatten metadata fields to top-level and compute isLive, isNew, isTrending boolean flags
  • Output a bare JSON array to data/models.json instead of the raw API response

williamw and others added 3 commits March 16, 2026 16:12
Enhance the fetch-models script to resolve endpoint URLs per model,
flatten metadata into top-level fields, compute isLive/isNew/isTrending
flags, and output a bare JSON array for consumer-ready data.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@williamw williamw merged commit a69e707 into master Mar 16, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant