mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
Expose collaboration_mode_kind in turn.started / turn notifications
This commit is contained in:
@@ -44,6 +44,7 @@ use codex_exec::exec_events::TurnFailedEvent;
|
||||
use codex_exec::exec_events::TurnStartedEvent;
|
||||
use codex_exec::exec_events::Usage;
|
||||
use codex_exec::exec_events::WebSearchItem;
|
||||
use codex_protocol::config_types::ModeKind;
|
||||
use codex_protocol::plan_tool::PlanItemArg;
|
||||
use codex_protocol::plan_tool::StepStatus;
|
||||
use codex_protocol::plan_tool::UpdatePlanArgs;
|
||||
@@ -104,6 +105,7 @@ fn task_started_produces_turn_started_event() {
|
||||
"t1",
|
||||
EventMsg::TurnStarted(codex_core::protocol::TurnStartedEvent {
|
||||
model_context_window: Some(32_000),
|
||||
collaboration_mode_kind: ModeKind::Custom,
|
||||
}),
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user