pub struct ToolLoopRequest {Show 19 fields
pub model: String,
pub user_input: String,
pub instructions: Option<String>,
pub config: LlmConfig,
pub attempt_id: Option<AttemptId>,
pub planner_stage: ToolPlannerStage,
pub retry_owner: ToolRetryOwner,
pub allowed_tools: Option<Vec<String>>,
pub tool_choice: ToolLoopChoice,
pub max_round_trips: u32,
pub strict: bool,
pub parallel_tool_calls: bool,
pub dry_run: bool,
pub scope: Option<ScopeKey>,
pub approval_grant: Option<ApprovalGrant>,
pub execution_permit: Option<Arc<ToolExecutionPermit>>,
pub stream: bool,
pub api_key: Option<String>,
pub organization: Option<String>,
}Fields§
§model: String§user_input: String§instructions: Option<String>§config: LlmConfig§attempt_id: Option<AttemptId>§planner_stage: ToolPlannerStage§retry_owner: ToolRetryOwner§allowed_tools: Option<Vec<String>>§tool_choice: ToolLoopChoice§max_round_trips: u32§strict: bool§parallel_tool_calls: bool§dry_run: bool§scope: Option<ScopeKey>§approval_grant: Option<ApprovalGrant>§execution_permit: Option<Arc<ToolExecutionPermit>>§stream: bool§api_key: Option<String>§organization: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ToolLoopRequest
impl Clone for ToolLoopRequest
Source§fn clone(&self) -> ToolLoopRequest
fn clone(&self) -> ToolLoopRequest
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 moreAuto Trait Implementations§
impl Freeze for ToolLoopRequest
impl RefUnwindSafe for ToolLoopRequest
impl Send for ToolLoopRequest
impl Sync for ToolLoopRequest
impl Unpin for ToolLoopRequest
impl UnsafeUnpin for ToolLoopRequest
impl UnwindSafe for ToolLoopRequest
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