Skip to content

Commit 482a4f6

Browse files
committed
Format
1 parent b031987 commit 482a4f6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

codex-rs/exec/src/event_processor.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@ use codex_common::elapsed::format_elapsed;
22
use codex_core::WireApi;
33
use codex_core::config::Config;
44
use codex_core::model_supports_reasoning_summaries;
5+
use codex_core::protocol::AgentMessageEvent;
56
use codex_core::protocol::BackgroundEventEvent;
67
use codex_core::protocol::ErrorEvent;
78
use codex_core::protocol::Event;
89
use codex_core::protocol::EventMsg;
910
use codex_core::protocol::ExecCommandBeginEvent;
1011
use codex_core::protocol::ExecCommandEndEvent;
1112
use codex_core::protocol::FileChange;
13+
use codex_core::protocol::LogEvent;
1214
use codex_core::protocol::McpToolCallBeginEvent;
1315
use codex_core::protocol::McpToolCallEndEvent;
1416
use codex_core::protocol::PatchApplyBeginEvent;
1517
use codex_core::protocol::PatchApplyEndEvent;
1618
use codex_core::protocol::SessionConfiguredEvent;
17-
use codex_core::protocol::{AgentMessageEvent, LogEvent};
1819
use owo_colors::OwoColorize;
1920
use owo_colors::Style;
2021
use shlex::try_join;

codex-rs/tui/src/chatwidget.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use std::sync::Arc;
33

44
use codex_core::codex_wrapper::init_codex;
55
use codex_core::config::Config;
6+
use codex_core::protocol::AgentMessageEvent;
67
use codex_core::protocol::AgentReasoningEvent;
78
use codex_core::protocol::ApplyPatchApprovalRequestEvent;
89
use codex_core::protocol::ErrorEvent;
@@ -12,12 +13,12 @@ use codex_core::protocol::ExecApprovalRequestEvent;
1213
use codex_core::protocol::ExecCommandBeginEvent;
1314
use codex_core::protocol::ExecCommandEndEvent;
1415
use codex_core::protocol::InputItem;
16+
use codex_core::protocol::LogEvent;
1517
use codex_core::protocol::McpToolCallBeginEvent;
1618
use codex_core::protocol::McpToolCallEndEvent;
1719
use codex_core::protocol::Op;
1820
use codex_core::protocol::PatchApplyBeginEvent;
1921
use codex_core::protocol::TaskCompleteEvent;
20-
use codex_core::protocol::{AgentMessageEvent, LogEvent};
2122
use crossterm::event::KeyEvent;
2223
use ratatui::buffer::Buffer;
2324
use ratatui::layout::Constraint;

0 commit comments

Comments
 (0)