cursor 0.2.26: a picker model whose usable id is its other family goes as that id
ysm119 on Discord, after 0.2.25: claude-haiku-5-5-thinking still failed its Test with no answer. A Team account's picker can have Claude Haiku 5.5 with thinking as its default, while cursor-agent models lists Haiku only as claude-haiku-5-5 (no thinking). modelsOf looked up the usable ids of the default's family alone, found none, and every Haiku id went out as a picker variant (claude-haiku-5-5-thinking-high, -low, ...) the account doesn't have. modelsOf now falls back to the same model's family with thinking or without it, so each variant id goes as the id the account lists. Run: bun test packages/cursor (311 pass, 0 fail) and bun scripts/check.mjs cursor (ok), in a sandbox HOME. Broken by hand: with the fam lookup back to the default's family only, the new context.test.mjs test is red (17 pass, 1 fail). Not tried: a real Team account whose list has Haiku without thinking; the owner's Cursor account doesn't show this shape. The fixture is built from the report's ids, not captured bytes.
This commit is contained in:
@@ -210,7 +210,10 @@ minutes), the way pi-cursor-sdk lists Cursor's catalog:
|
||||
them), fast the request's `service_tier`.
|
||||
- An id for a model with thinking that the account lists only without it
|
||||
(`claude-haiku-5-5-thinking` when the list has Claude Haiku 5.5 alone),
|
||||
or the other way round, runs as the model the account has.
|
||||
or the other way round, runs as the model the account has. So does a
|
||||
picker model whose default thinks while the account lists it only
|
||||
without thinking (`claude-haiku-5-5`), or the other way round: each of
|
||||
its variant ids goes as the id the account lists.
|
||||
- An `@<size>` id the list no longer has (`claude-opus-5-5@1m` when only
|
||||
300k is listed, or the model is listed unsized) runs at the model's
|
||||
nearest size, in Max Mode when the size asked for is over the model's
|
||||
|
||||
Reference in New Issue
Block a user