mirror of
https://github.com/openai/codex.git
synced 2026-09-11 20:36:49 +00:00
fix(core): annotate watchdog positional literals
This commit is contained in:
@@ -374,8 +374,8 @@ impl AgentControl {
|
||||
config,
|
||||
self.clone(),
|
||||
session_source,
|
||||
false,
|
||||
None,
|
||||
/*persist_extended_history*/ false,
|
||||
/*metrics_service_name*/ None,
|
||||
inherited_shell_snapshot,
|
||||
inherited_exec_policy,
|
||||
)
|
||||
@@ -443,7 +443,7 @@ impl AgentControl {
|
||||
initial_history,
|
||||
self.clone(),
|
||||
session_source,
|
||||
false,
|
||||
/*persist_extended_history*/ false,
|
||||
inherited_shell_snapshot,
|
||||
inherited_exec_policy,
|
||||
)
|
||||
|
||||
@@ -302,8 +302,13 @@ impl WatchdogManager {
|
||||
"watchdog helper cleanup failed: {err}"
|
||||
);
|
||||
}
|
||||
self.update_after_spawn(target_thread_id, generation, now, None)
|
||||
.await;
|
||||
self.update_after_spawn(
|
||||
target_thread_id,
|
||||
generation,
|
||||
now,
|
||||
/*active_helper_id*/ None,
|
||||
)
|
||||
.await;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -347,8 +352,13 @@ impl WatchdogManager {
|
||||
}
|
||||
Err(err) => {
|
||||
warn!("watchdog spawn failed for target {target_thread_id}: {err}");
|
||||
self.update_after_spawn(target_thread_id, generation, now, None)
|
||||
.await;
|
||||
self.update_after_spawn(
|
||||
target_thread_id,
|
||||
generation,
|
||||
now,
|
||||
/*active_helper_id*/ None,
|
||||
)
|
||||
.await;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user