feat(sync): add Ofox catalog sync - #3978
Merged
Merged
Conversation
Sync existing Ofox TOMLs from the public catalog API (https://api.ofox.ai/v1/models/catalog). Conservative scope: - skipCreates + trackMissingModels=false: the Ofox listing here is a curated subset, so new models keep entering via hand-authored PRs - deleteMissing=false with a notice: delisted models get flagged for manual deprecation review instead of silent removal - catalog is treated as authoritative for cost and deprecation status only; base_model inheritance, reasoning_options, and per-model [provider] protocol overrides are preserved as authored
Contributor
|
No actionable findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wire Ofox (merged in #3254) into
bun models:syncso the hourly automation keeps our TOMLs aligned with what we actually bill, instead of relying on hand-authored price PRs.Source: our public catalog API (
https://api.ofox.ai/v2/models/catalog?include=provider_price) — no auth, no new workflow secrets. When ops set aprovider_priceoverride (price cuts / promos), that is the customer-billed price, so the sync prefers it over the pre-discount list price.Conservative scope
skipCreates+trackMissingModels: false— the Ofox listing here is a curated subset (13 models today), so new models keep entering via hand-authored, reviewed PRs; the sync never mass-creates and never opens issuesdeleteMissing: falsewith a notice — delisted models get flagged for manual deprecation review instead of silent removalbase_modelinheritance,reasoning_options, and per-model[provider]protocol overrides stay hand-authoredDry run (against current dev)
All three updates are expected:
gpt-5.6-luna/gpt-5.6-terrareflect OpenAI's July 30 price cuts (the same change is already hand-submitted in #3404 — whichever lands first, the other becomes a no-op), andgemini-3.1-pro-previewpicks up the cache-write price from our catalog.bun validatepasses; a second dry-run after writing is clean.Motivation: last week's GPT-5.6 price cuts made it obvious that hand-tracking upstream price moves doesn't scale — this brings Ofox in line with how OpenRouter/Kilo/Vercel entries stay fresh.