pub struct InteractivePrimaryModel { /* private fields */ }Expand description
Provider-neutral model selection for subsequent interactive requests.
Implementations§
Source§impl InteractivePrimaryModel
impl InteractivePrimaryModel
pub fn new( provider: Arc<dyn ModelProvider>, model: ModelName, retry_policy: ModelRetryPolicy, ) -> Self
Sourcepub fn with_reasoning_effort(
self,
reasoning_effort: Option<ReasoningEffort>,
) -> Self
pub fn with_reasoning_effort( self, reasoning_effort: Option<ReasoningEffort>, ) -> Self
Attaches an optional role-specific reasoning effort override.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for InteractivePrimaryModel
impl !UnwindSafe for InteractivePrimaryModel
impl Forget for InteractivePrimaryModel
impl Freeze for InteractivePrimaryModelwhere
*const ArcInner<dyn ModelProvider> is !null: Freeze,
PhantomData<ArcInner<dyn ModelProvider>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for InteractivePrimaryModel
impl Send for InteractivePrimaryModel
impl Sync for InteractivePrimaryModel
impl Unpin for InteractivePrimaryModel
impl UnsafeUnpin for InteractivePrimaryModelwhere
*const ArcInner<dyn ModelProvider> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn ModelProvider>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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