pub enum DispatchMode {
PromptGuided,
NativePreferred,
}Expand description
Action dispatch mode for model responses.
Variants§
PromptGuided
Use prompt-guided JSON action protocol only.
NativePreferred
Prefer native provider tool calls when available, fallback to prompt-guided parsing.
Trait Implementations§
Source§impl Clone for DispatchMode
impl Clone for DispatchMode
Source§fn clone(&self) -> DispatchMode
fn clone(&self) -> DispatchMode
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 DispatchMode
impl Debug for DispatchMode
Source§impl Default for DispatchMode
impl Default for DispatchMode
Source§fn default() -> DispatchMode
fn default() -> DispatchMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for DispatchMode
impl PartialEq for DispatchMode
impl Copy for DispatchMode
impl Eq for DispatchMode
impl StructuralPartialEq for DispatchMode
Auto Trait Implementations§
impl Freeze for DispatchMode
impl RefUnwindSafe for DispatchMode
impl Send for DispatchMode
impl Sync for DispatchMode
impl Unpin for DispatchMode
impl UnsafeUnpin for DispatchMode
impl UnwindSafe for DispatchMode
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