pub struct AgentRequest {
pub agent_name: String,
pub message: String,
pub history: Vec<Message>,
pub ctx_provider: Option<Arc<dyn ContextProvider>>,
}Expand description
Request for unified agent execution.
Carries the minimal fields needed to execute any agent via the single
Execute::run entry-point.
Fields§
§agent_name: StringAgent name to execute.
message: StringCurrent user message.
history: Vec<Message>Prior conversation history (explicitly passed; may be augmented by
TenantDb when available).
ctx_provider: Option<Arc<dyn ContextProvider>>Optional per-request context provider override (overrides service-level
provider when Some).
Trait Implementations§
Source§impl Clone for AgentRequest
impl Clone for AgentRequest
Source§fn clone(&self) -> AgentRequest
fn clone(&self) -> AgentRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentRequest
impl Debug for AgentRequest
Source§impl Default for AgentRequest
impl Default for AgentRequest
Source§fn default() -> AgentRequest
fn default() -> AgentRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for AgentRequest
impl !UnwindSafe for AgentRequest
impl Freeze for AgentRequest
impl Send for AgentRequest
impl Sync for AgentRequest
impl Unpin for AgentRequest
impl UnsafeUnpin for AgentRequest
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