pub struct ToolChoiceShell {
pub type_: String,
}Expand description
Forces the model to call the shell tool when a tool call is required.
Fields§
§type_: StringThe tool to call. Always shell.
Trait Implementations§
Source§impl Clone for ToolChoiceShell
impl Clone for ToolChoiceShell
Source§fn clone(&self) -> ToolChoiceShell
fn clone(&self) -> ToolChoiceShell
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 ToolChoiceShell
impl Debug for ToolChoiceShell
Source§impl<'de> Deserialize<'de> for ToolChoiceShell
impl<'de> Deserialize<'de> for ToolChoiceShell
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
Auto Trait Implementations§
impl Freeze for ToolChoiceShell
impl RefUnwindSafe for ToolChoiceShell
impl Send for ToolChoiceShell
impl Sync for ToolChoiceShell
impl Unpin for ToolChoiceShell
impl UnsafeUnpin for ToolChoiceShell
impl UnwindSafe for ToolChoiceShell
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