pub struct ResolvedModel {
pub profile_name: String,
pub model_id: String,
pub base_url: String,
pub api_key: String,
pub max_tokens: Option<u32>,
pub temperature: Option<f32>,
pub context_window: Option<u64>,
pub supports_images: bool,
pub supports_tools: bool,
}Expand description
A fully resolved model ready for client construction.
Merges provider-level settings (base_url, api_key) with model-level settings (context_window, temperature, etc).
Fields§
§profile_name: String§model_id: String§base_url: String§api_key: String§max_tokens: Option<u32>§temperature: Option<f32>§context_window: Option<u64>§supports_images: boolWhether this model supports image inputs.
supports_tools: boolWhether this model supports tool calling.
Trait Implementations§
Source§impl Clone for ResolvedModel
impl Clone for ResolvedModel
Source§fn clone(&self) -> ResolvedModel
fn clone(&self) -> ResolvedModel
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 moreAuto Trait Implementations§
impl Freeze for ResolvedModel
impl RefUnwindSafe for ResolvedModel
impl Send for ResolvedModel
impl Sync for ResolvedModel
impl Unpin for ResolvedModel
impl UnsafeUnpin for ResolvedModel
impl UnwindSafe for ResolvedModel
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