pub struct ResolvedModel {
pub provider: Arc<dyn LLMProvider>,
pub model_name: String,
}Expand description
A fully resolved model ready for LLM calls.
Contains both the provider instance and model name string, so call sites
don’t need to worry about routing — they just use .provider and .model_name.
Created by the unified resolver functions in model_config_helper.
Fields§
§provider: Arc<dyn LLMProvider>§model_name: StringAuto Trait Implementations§
impl !RefUnwindSafe for ResolvedModel
impl !UnwindSafe for ResolvedModel
impl Freeze for ResolvedModel
impl Send for ResolvedModel
impl Sync for ResolvedModel
impl Unpin for ResolvedModel
impl UnsafeUnpin 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