mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Fix TUI fast mode toggle regression (#16833)
Addresses #16832 Problem: After `/fast on`, the TUI omitted an explicit service-tier clear on later turns, so `/fast off` left app-server sessions stuck on `priority` until restart. Solution: Always submit the current service tier with user turns, including an explicit clear when Fast mode is off, and add a regression test for the `/fast on` -> `/fast off` flow.
This commit is contained in:
1 parent
82b061afb2
commit
ab58141e22
2 files changed
+27
-1
No files matched your search
@@ -5767,7 +5767,7 @@ impl ChatWidget {
|
||||
.personality
|
||||
.filter(|_| self.config.features.enabled(Feature::Personality))
|
||||
.filter(|_| self.current_model_supports_personality());
|
||||
let service_tier = self.config.service_tier.map(Some);
|
||||
let service_tier = Some(self.config.service_tier);
|
||||
let op = AppCommand::user_turn(
|
||||
items,
|
||||
self.config.cwd.to_path_buf(),
|
||||
|
||||
Reference in new issue
Block a user