pub struct AgentThread {
pub thread_id: AgentThreadId,
pub agent_path: AgentPath,
pub nickname: Option<String>,
pub origin: AgentOrigin,
pub execution: ExecutionWindow,
pub default_model: Option<String>,
pub conversation_item_ids: Vec<ConversationItemId>,
}Expand description
Public reduced trace model returned by replay. One Codex thread/session participating in the rollout.
Threads are agents in the multi-agent sense, but the root interactive session is represented by the same object. Runtime objects live in top-level maps and point back to their owning thread; only transcript order is stored here because compaction/reconciliation makes it semantic.
Fields§
§thread_id: AgentThreadId§agent_path: AgentPathStable routing identity. Viewer/search should prefer this over nickname.
nickname: Option<String>Presentation hint. It can collide and must not be used as identity.
origin: AgentOrigin§execution: ExecutionWindowSession lifecycle for this thread.
Child threads can end independently from the root rollout, for example
after a parent calls close_agent. Keeping this on the thread prevents
those shutdowns from being mistaken for whole-rollout completion.
default_model: Option<String>Configured model presentation hint. Individual inference calls carry the actual upstream model.
conversation_item_ids: Vec<ConversationItemId>Logical conversation items first observed for this thread, in transcript order.
Trait Implementations§
Source§impl Clone for AgentThread
impl Clone for AgentThread
Source§fn clone(&self) -> AgentThread
fn clone(&self) -> AgentThread
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AgentThread
impl Debug for AgentThread
Source§impl<'de> Deserialize<'de> for AgentThread
impl<'de> Deserialize<'de> for AgentThread
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for AgentThread
impl PartialEq for AgentThread
Source§impl Serialize for AgentThread
impl Serialize for AgentThread
impl StructuralPartialEq for AgentThread
Auto Trait Implementations§
impl Freeze for AgentThread
impl RefUnwindSafe for AgentThread
impl Send for AgentThread
impl Sync for AgentThread
impl Unpin for AgentThread
impl UnsafeUnpin for AgentThread
impl UnwindSafe for AgentThread
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more