pub enum ToolExecutionMode {
Sequential,
Parallel,
}Expand description
How tool calls are executed within a single assistant turn.
Variants§
Sequential
Execute tool calls sequentially, one at a time.
Parallel
Execute tool calls concurrently (in parallel).
Trait Implementations§
Source§impl Clone for ToolExecutionMode
impl Clone for ToolExecutionMode
Source§fn clone(&self) -> ToolExecutionMode
fn clone(&self) -> ToolExecutionMode
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 ToolExecutionMode
impl Debug for ToolExecutionMode
Source§impl Default for ToolExecutionMode
impl Default for ToolExecutionMode
Source§fn default() -> ToolExecutionMode
fn default() -> ToolExecutionMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for ToolExecutionMode
impl PartialEq for ToolExecutionMode
Source§fn eq(&self, other: &ToolExecutionMode) -> bool
fn eq(&self, other: &ToolExecutionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ToolExecutionMode
impl Eq for ToolExecutionMode
impl StructuralPartialEq for ToolExecutionMode
Auto Trait Implementations§
impl Freeze for ToolExecutionMode
impl RefUnwindSafe for ToolExecutionMode
impl Send for ToolExecutionMode
impl Sync for ToolExecutionMode
impl Unpin for ToolExecutionMode
impl UnsafeUnpin for ToolExecutionMode
impl UnwindSafe for ToolExecutionMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.