pub enum AgentToolExecutionMode {
Parallel,
Sequential,
}Expand description
Runtime scheduling mode for a batch of model-returned tool calls.
Variants§
Parallel
Execute independent tool calls concurrently when no tool requests sequential execution.
Sequential
Execute tool calls one at a time in model-returned order.
Trait Implementations§
Source§impl Clone for AgentToolExecutionMode
impl Clone for AgentToolExecutionMode
Source§fn clone(&self) -> AgentToolExecutionMode
fn clone(&self) -> AgentToolExecutionMode
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 moreimpl Copy for AgentToolExecutionMode
Source§impl Debug for AgentToolExecutionMode
impl Debug for AgentToolExecutionMode
Source§impl Default for AgentToolExecutionMode
impl Default for AgentToolExecutionMode
Source§fn default() -> AgentToolExecutionMode
fn default() -> AgentToolExecutionMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentToolExecutionMode
impl<'de> Deserialize<'de> for AgentToolExecutionMode
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
impl Eq for AgentToolExecutionMode
Source§impl PartialEq for AgentToolExecutionMode
impl PartialEq for AgentToolExecutionMode
Source§impl Serialize for AgentToolExecutionMode
impl Serialize for AgentToolExecutionMode
impl StructuralPartialEq for AgentToolExecutionMode
Auto Trait Implementations§
impl Freeze for AgentToolExecutionMode
impl RefUnwindSafe for AgentToolExecutionMode
impl Send for AgentToolExecutionMode
impl Sync for AgentToolExecutionMode
impl Unpin for AgentToolExecutionMode
impl UnsafeUnpin for AgentToolExecutionMode
impl UnwindSafe for AgentToolExecutionMode
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