Skip to content
Source
Sign inSign up
TanStack/schemas

Price Reactor x2 from the renamed xmax/x2 rate #689

Mergedtombeckenhammerged 2 commits intomain from100005-reactor-pricing-renamed-x2-to-xmax-x2-so-x2-loses-its-pricemerged by tombeckenham View on GitHub

tombeckenhamcommented

Fixes #100005.

Reactor's GET /pricing renamed the X2 row from x2 to xmax/x2. The X2 docs still describe the same model and keep the page at /models/x2; the connect slug is now xmax/x2. The catalog keeps rawId: 'x2' and prices it from xmax/x2, so the stored row keeps its card.

reactor/xmax-x2-1 is XMAX X2.1, a separate editor (docs model name reactor/xmax-x2-1, page /models/xmax-x2-1). It is now a curated row with that page slug.

listModels no longer swallows a failed fetch, bad JSON, or a body with no models. Those throw, so the poll reports ingest_failed.

Tests: xmax/x2 and reactor/xmax-x2-1 map onto the curated rows and the $0.0017/s card. A 500, non-JSON body, or a body with no models throws.

    1. tombeckenham pushed7ae477c

    2. tombeckenham merged this2b2f5f4

    3. tombeckenham merged this2b2f5f4

    4. tombeckenham closed this

Sign in to join this conversation.