mirror of
https://github.com/openai/codex.git
synced 2026-11-03 00:21:31 +00:00
unify flag
This commit is contained in:
1 parent
bd171e5206
commit
1a33de34b0
3 files changed
+2
-27
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user