pub struct AgentRequest {
pub session_id: Option<String>,
pub task: String,
pub conductor_model: Option<String>,
pub workers: Option<Vec<AgentWorker>>,
pub max_steps: Option<i32>,
pub system_prompt: Option<String>,
pub context_config: Option<ContextConfig>,
}Expand description
Request body for an agent run.
Fields§
§session_id: Option<String>Session identifier for continuity across runs.
task: StringThe task for the agent to accomplish.
conductor_model: Option<String>Model for the conductor agent.
workers: Option<Vec<AgentWorker>>Worker agents available to the conductor.
max_steps: Option<i32>Maximum number of steps before stopping.
system_prompt: Option<String>System prompt for the conductor.
context_config: Option<ContextConfig>Context configuration for session management.
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 · 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 Freeze for AgentRequest
impl RefUnwindSafe for AgentRequest
impl Send for AgentRequest
impl Sync for AgentRequest
impl Unpin for AgentRequest
impl UnsafeUnpin for AgentRequest
impl UnwindSafe 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