pub struct LLMModel {
pub display_name: String,
pub id: String,
pub max_context_tokens: i64,
pub max_output_tokens: i64,
pub pricing: Map<String, Value>,
pub provider: String,
pub supports_json_mode: bool,
pub supports_streaming: bool,
pub supports_tool_calls: bool,
pub supports_vision: bool,
pub tier: String,
}Expand description
LLMModel model.
Fields§
§display_name: String§id: String§max_context_tokens: i64§max_output_tokens: i64§pricing: Map<String, Value>§provider: String§supports_json_mode: bool§supports_streaming: bool§supports_tool_calls: bool§supports_vision: bool§tier: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for LLMModel
impl<'de> Deserialize<'de> for LLMModel
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 StructuralPartialEq for LLMModel
Auto Trait Implementations§
impl Freeze for LLMModel
impl RefUnwindSafe for LLMModel
impl Send for LLMModel
impl Sync for LLMModel
impl Unpin for LLMModel
impl UnsafeUnpin for LLMModel
impl UnwindSafe for LLMModel
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