pub enum Vendor {
Anthropic,
Openai,
Deepseek,
Qwen,
Vllm,
Sglang,
Generic,
}Expand description
Who runs the endpoint. Decides what the protocol leaves open: how thinking is switched on, whether reasoning goes back, how effort is spelled.
Variants§
Implementations§
Source§impl Vendor
impl Vendor
pub fn thinking_toggle(self) -> Option<ThinkingToggle>
Sourcepub fn passes_reasoning_back(self) -> bool
pub fn passes_reasoning_back(self) -> bool
Whether the model’s reasoning_content has to be echoed on the
assistant messages of the current tool loop.
Trait Implementations§
impl Copy for Vendor
Source§impl<'de> Deserialize<'de> for Vendor
impl<'de> Deserialize<'de> for Vendor
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 Vendor
Source§impl JsonSchema for Vendor
impl JsonSchema for Vendor
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Vendor
Auto Trait Implementations§
impl Forget for Vendor
impl Freeze for Vendor
impl Move for Vendor
impl RefUnwindSafe for Vendor
impl Send for Vendor
impl Sync for Vendor
impl Unpin for Vendor
impl UnsafeUnpin for Vendor
impl UnwindSafe for Vendor
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