codex: fix CI failure on PR #20978

Update the service-tier slash dispatch path to stage history through the text-based helper after the built-in command history helper started requiring a SlashCommand argument.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed Ibrahim
2026-05-07 22:11:31 +03:00
co-authored by Codex
parent 6b9cc89be3
commit 646fc7fd6a
@@ -2855,7 +2855,7 @@ impl ChatComposer {
return None;
}
if let Some(command) = self.find_service_tier_command(name) {
self.stage_slash_command_history();
self.stage_slash_command_history_text(self.textarea.text().trim().to_string());
self.textarea.set_text_clearing_elements("");
self.is_bash_mode = false;
return Some(InputResult::ServiceTierCommand(command));