mirror of
https://github.com/openai/codex.git
synced 2026-10-28 18:58:46 +00:00
add comment
This commit is contained in:
@@ -133,6 +133,8 @@ fn keep_forked_rollout_item(item: &RolloutItem) -> bool {
|
||||
/// which keeps the registry scoped to that root thread rather than the entire `ThreadManager`.
|
||||
#[derive(Clone, Default)]
|
||||
pub(crate) struct AgentControl {
|
||||
/// ID shared by the whole agent control session. This means every sub-agents from a common
|
||||
/// root share the same session ID.
|
||||
session_id: SessionId,
|
||||
/// Weak handle back to the global thread registry/state.
|
||||
/// This is `Weak` to avoid reference cycles and shadow persistence of the form
|
||||
|
||||
Reference in New Issue
Block a user