You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show model discounts in Warp Agent CLI picker (#14614)
## Description
Show server-provided model discounts in the Warp Agent CLI model picker.
The TUI now reads each model's existing `discount_percentage` payload
field and appends an italic green `x% off` label. Selected rows use the
darker green treatment from the Figma mock. Discounts are hidden when
inference is routed through a user/team API key, Bedrock, or Gemini
Enterprise because Warp credits are not being billed.
## Linked Issue
No linked issue.
## Testing
- [x] Ran `./script/format`
- [x] Ran all three `cargo clippy` configurations from
`script/presubmit`
- [x] Manually validated the picker in `warp-tui-oss` with a temporary
50% fallback
- [x] Confirmed the live selected row used RGB `208,209,254` background
and bold italic RGB `93,128,60` discount text
No new automated tests were added because this is straightforward
presentation wiring over an existing payload field and was validated
through the production TUI renderer.
## Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode
Agent conversation:
https://staging.warp.dev/conversation/9d8332ef-0bec-47cf-a241-f84d8b62786c
CHANGELOG-TUI: Model discounts now appear in the Warp Agent CLI model
picker.
Co-Authored-By: Warp <agent@warp.dev>
Co-authored-by: Warp <agent@warp.dev>
0 commit comments