mirror of
https://github.com/openai/codex.git
synced 2026-10-28 18:58:46 +00:00
[codex-analytics] add protocol-native turn timestamps
This commit is contained in:
@@ -74,6 +74,7 @@ pub(crate) async fn run_compact_task(
|
||||
) -> CodexResult<()> {
|
||||
let start_event = EventMsg::TurnStarted(TurnStartedEvent {
|
||||
turn_id: turn_context.sub_id.clone(),
|
||||
started_at: turn_context.turn_timing_state.started_at_unix_secs().await,
|
||||
model_context_window: turn_context.model_context_window(),
|
||||
collaboration_mode_kind: turn_context.collaboration_mode.mode,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user