pub struct AliasDef {
pub id: String,
pub provider: String,
pub tool_format: Option<String>,
}Fields§
§id: String§provider: String§tool_format: Option<String>Per-model tool format override: “native” or “text”. When set, this takes precedence over the provider-level default. Models with strong tool-calling fine-tuning (Kimi-K2.5, GPT-4o) should use “native”; models better served by text-based tool calling use “text”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AliasDef
impl<'de> Deserialize<'de> for AliasDef
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 AliasDef
impl RefUnwindSafe for AliasDef
impl Send for AliasDef
impl Sync for AliasDef
impl Unpin for AliasDef
impl UnsafeUnpin for AliasDef
impl UnwindSafe for AliasDef
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