pub struct ModelSwitched {
pub thread_id: ThreadRef,
pub model_name: String,
pub provider_id: String,
pub context_window: usize,
}Expand description
Daemon confirmation that a thread’s model was switched (see
infinity_protocol::DaemonMessage::ModelSwitched). Updates the status
line when it targets the thread currently being viewed.
Fields§
§thread_id: ThreadRef§model_name: String§provider_id: String§context_window: usizeAuto Trait Implementations§
impl Freeze for ModelSwitched
impl RefUnwindSafe for ModelSwitched
impl Send for ModelSwitched
impl Sync for ModelSwitched
impl Unpin for ModelSwitched
impl UnsafeUnpin for ModelSwitched
impl UnwindSafe for ModelSwitched
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more