pub struct AttachInfo {
pub agent_id: String,
pub engine: String,
pub provider: String,
pub provider_revision: Option<u64>,
pub pending_agent_requests: Vec<PendingAgentRequest>,
}Fields§
§agent_id: String§engine: StringThe core this agent was spawned with (authoritative AgentMetadata value), filled by
Runtime::attach.
provider: StringThe agent’s most recently confirmed provider (startup config or a successful providers/set).
attach does not spawn,
so the frontend uses this to mark the current provider (the provider identity sent
with every prompt depends on it).
The registry holds no process metadata; filled by Runtime::attach (the only public exit).
provider_revision: Option<u64>Provider configuration acknowledged by this process; absent for unmanaged launches.
pending_agent_requests: Vec<PendingAgentRequest>Agent requests still unanswered, for the new owner to answer. Sourced from the inbound replay buffer, which may have been flushed in extreme cases.
Trait Implementations§
Source§impl Clone for AttachInfo
impl Clone for AttachInfo
Source§impl Debug for AttachInfo
impl Debug for AttachInfo
Source§impl<'de> Deserialize<'de> for AttachInfo
impl<'de> Deserialize<'de> for AttachInfo
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AttachInfo
impl PartialEq for AttachInfo
Source§impl Serialize for AttachInfo
impl Serialize for AttachInfo
impl StructuralPartialEq for AttachInfo
Auto Trait Implementations§
impl Forget for AttachInfo
impl Freeze for AttachInfo
impl RefUnwindSafe for AttachInfo
impl Send for AttachInfo
impl Sync for AttachInfo
impl Unpin for AttachInfo
impl UnsafeUnpin for AttachInfo
impl UnwindSafe for AttachInfo
Blanket Implementations§
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
Mutably borrows from an owned value. Read more