the-grid-ai: enrich inline provider models (reasoning options, limits, interleaved)#3067
the-grid-ai: enrich inline provider models (reasoning options, limits, interleaved)#3067Cahl-Dee wants to merge 2 commits into
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
afaik grid ai isnt a model lab, you are providing other models under certain aliases right? So this would be incorrect it should stay as it was |
|
Understood! Some tools don't understand the nuance between a "model" and what we offer. To them, the functional experience is what matters. You send a request to an endpoint with a "model" parameter, and get a response. The value passed in that parameter, to them, is a model. Totally get your clear distinction for models.dev / opencode. Addressing now. |
The Grid AI is a model aggregator that serves other labs' models under tier aliases, not a model lab, so per maintainer feedback on anomalyco#3067 it should not use the models/ + base_model metadata layer. - Delete models/the-grid-ai/ and fold all facts back inline under providers/the-grid-ai/models/ (no base_model references). - Keep the data improvements: limit.input, reasoning_options (effort for standard/prime; toggle + wider effort set for *-max), refreshed descriptions and last_updated. - Replace cost with a comment explaining pricing is variable (tokens trade on an open market) and linking each instrument's live market page; add a contract-spec link under each description. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressed. Reverted the file-structure change — everything stays inline under Kept the substantive data fixes in place: corrected |
Summary
Updates the existing
providers/the-grid-ai/models/*.tomldefinitions in place. Per @rekram1-node's feedback, The Grid AI is a model aggregator (it serves other labs' models under tier aliases, not its own models), so the files stay fully inline underproviders/— nomodels/metadata layer and nobase_modelreferences.What changed
reasoning_optionsnow reflect the actual API surface (source:GET https://api.thegrid.ai/v1/models+ the contract spec):*-standard/*-prime→[{ type = "effort", values = ["low", "medium", "high"] }](reasoning is mandatory on these tiers; no toggle).*-max→[{ type = "toggle" }, { type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }](reasoning can be turned off, and the wider effort set is accepted).limit.inputadded to all 9 models (previously onlycontext+output).[interleaved] field = "reasoning_content"added to all 9 models — every instrument returns reasoning tokens in thereasoning_contentfield.cost). A contract-spec link sits under each description.provider.toml: refreshed the HTTP reasoning-controls comment to match the current API (reasoning_effortenum, per-tier mandatory vs. toggle behavior).Data source
https://app.thegrid.ai/trading/market-<id>(linked in each file)Validation
bun validate→ green (all 9 files)bun run compare:migrations→ cleanbun --cwd packages/web run build→ green