pub struct AgentRequest<TCtx> {
pub input: Vec<AgentItem>,
pub context: TCtx,
}Fields§
§input: Vec<AgentItem>The input items for this run, such as LLM messages.
context: TCtxThe context used to resolve instructions and passed to tool executions.
Trait Implementations§
Source§impl<TCtx: Clone> Clone for AgentRequest<TCtx>
impl<TCtx: Clone> Clone for AgentRequest<TCtx>
Source§fn clone(&self) -> AgentRequest<TCtx>
fn clone(&self) -> AgentRequest<TCtx>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<TCtx: Debug> Debug for AgentRequest<TCtx>
impl<TCtx: Debug> Debug for AgentRequest<TCtx>
Source§impl<'de, TCtx> Deserialize<'de> for AgentRequest<TCtx>where
TCtx: Deserialize<'de>,
impl<'de, TCtx> Deserialize<'de> for AgentRequest<TCtx>where
TCtx: Deserialize<'de>,
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
Auto Trait Implementations§
impl<TCtx> Freeze for AgentRequest<TCtx>where
TCtx: Freeze,
impl<TCtx> RefUnwindSafe for AgentRequest<TCtx>where
TCtx: RefUnwindSafe,
impl<TCtx> Send for AgentRequest<TCtx>where
TCtx: Send,
impl<TCtx> Sync for AgentRequest<TCtx>where
TCtx: Sync,
impl<TCtx> Unpin for AgentRequest<TCtx>where
TCtx: Unpin,
impl<TCtx> UnwindSafe for AgentRequest<TCtx>where
TCtx: UnwindSafe,
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