Skip to content

feat(sync): add Ofox catalog sync - #3978

Merged
rekram1-node merged 1 commit into
anomalyco:devfrom
celeste1900:feat/ofox-sync-pr
Aug 3, 2026
Merged

feat(sync): add Ofox catalog sync#3978
rekram1-node merged 1 commit into
anomalyco:devfrom
celeste1900:feat/ofox-sync-pr

Conversation

@celeste1900

Copy link
Copy Markdown
Contributor

Summary

Wire Ofox (merged in #3254) into bun models:sync so 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 a provider_price override (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 issues
  • deleteMissing: false with a notice — delisted models get flagged for manual deprecation review instead of silent removal
  • The catalog is authoritative for cost and deprecation status only; base_model inheritance, reasoning_options, and per-model [provider] protocol overrides stay hand-authored

Dry run (against current dev)

Dry run: 0 created, 3 updated, 0 removed, 10 unchanged

All three updates are expected: gpt-5.6-luna / gpt-5.6-terra reflect OpenAI's July 30 price cuts (the same change is already hand-submitted in #3404 — whichever lands first, the other becomes a no-op), and gemini-3.1-pro-preview picks up the cache-write price from our catalog. bun validate passes; 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.

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
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

No actionable findings.

@rekram1-node
rekram1-node merged commit 504dabb into anomalyco:dev Aug 3, 2026
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.

2 participants