unify flag

This commit is contained in:
Ahmed Ibrahim
2025-08-04 16:56:52 -07:00
parent bd171e5206
commit 1a33de34b0
3 changed files with 2 additions and 27 deletions

View File

@@ -229,7 +229,6 @@ pub(crate) struct Session {
state: Mutex<State>,
codex_linux_sandbox_exe: Option<PathBuf>,
user_shell: shell::Shell,
show_reasoning_content: bool,
hide_agent_reasoning: bool,
}
@@ -826,7 +825,6 @@ async fn submission_loop(
codex_linux_sandbox_exe: config.codex_linux_sandbox_exe.clone(),
disable_response_storage,
user_shell: default_shell,
show_reasoning_content: config.show_reasoning_content,
hide_agent_reasoning: config.hide_agent_reasoning,
}));
@@ -1521,7 +1519,7 @@ async fn handle_response_item(
sess.tx_event.send(event).await.ok();
}
}
if !sess.hide_agent_reasoning && sess.show_reasoning_content && content.is_some() {
if !sess.hide_agent_reasoning && content.is_some() {
let content = content.unwrap();
for item in content {
let text = match item {