codex: fix fast mode toggle service tier selection

Pass the explicit service tier id argument when toggling Fast mode from the UI so the rebased TUI compiles.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed Ibrahim
2026-05-07 19:59:44 +03:00
co-authored by Codex
parent 92f7c7abfa
commit 1647cf4b3f
+1 -4
View File
@@ -9477,10 +9477,7 @@ impl ChatWidget {
} else {
Some(ServiceTier::Fast)
};
self.set_service_tier_selection(
next_tier,
next_tier.map(|service_tier| service_tier.request_value().to_string()),
);
self.set_service_tier_selection(next_tier, /*service_tier_id*/ None);
}
pub(crate) fn current_model(&self) -> &str {