mirror of
https://github.com/openai/codex.git
synced 2026-10-26 18:38:47 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user