mirror of
https://github.com/openai/codex.git
synced 2026-09-16 12:13:30 +00:00
codex: fix clippy regression in human output (#15106)
This commit is contained in:
@@ -107,13 +107,12 @@ impl EventProcessorWithHumanOutput {
|
||||
ThreadItem::Reasoning {
|
||||
summary, content, ..
|
||||
} => {
|
||||
if self.show_agent_reasoning {
|
||||
if let Some(text) =
|
||||
if self.show_agent_reasoning
|
||||
&& let Some(text) =
|
||||
reasoning_text(&summary, &content, self.show_raw_agent_reasoning)
|
||||
&& !text.trim().is_empty()
|
||||
{
|
||||
eprintln!("{}", text.style(self.dimmed));
|
||||
}
|
||||
&& !text.trim().is_empty()
|
||||
{
|
||||
eprintln!("{}", text.style(self.dimmed));
|
||||
}
|
||||
}
|
||||
ThreadItem::CommandExecution {
|
||||
|
||||
Reference in New Issue
Block a user