Files
codex/codex-rs/tui
Eric Traut a183b449e6 Use model-specific speeds for /model --speed (#65092)
## Why

Speed completion always suggested `flex`, even for models that did
not advertise it, and omitted other available tiers such as `priority`.

## What changed

Offer `standard` and the enabled service tiers advertised for the model
named in `/model`. When the command omits the model, use the current
model. Use the same choices in unavailable-speed errors.

Allow explicit use of unadvertised `flex` in `/model` and quick dials
when using the OpenAI provider with an API key. Keep completion limited
to `standard` and advertised tiers.

## Testing

Add coverage for model-specific completion and validation, including
clearing stale suggestions when the model catalog is cleared. Cover
saving and recalling a quick dial with unadvertised Flex using an
OpenAI API key and rejecting that speed on another provider.

GitOrigin-RevId: b5139d03561842eaf00511f018f6e626cf695bc5
2026-12-01 21:39:35 +00:00
..