ColdCacheWarningScreen(
self,
warning: ColdCacheWarning,
)ModalScreen[ColdCacheChoice | None]| Name | Type | Description |
|---|---|---|
warning* | ColdCacheWarning | Validated policy, pricing, and cause for this turn. |
| Name | Type |
|---|---|
| warning | ColdCacheWarning |
Ask whether to send a turn whose prompt cache may be cold.
Dismisses with the chosen ColdCacheChoice, or None on a
programmatic pop. Esc is mapped to CANCEL so the user is never
forced into a spend they did not explicitly choose. None and
CANCEL are both non-send outcomes, and callers must treat any
non-send value as cancel so the dialog fails closed.