pub enum TitleSource {
Derived,
Llm,
User,
}Expand description
Who wrote a session’s title. The order is the precedence: a name a person typed is never replaced, a name a model wrote is replaced only by a person, and the derived name is a placeholder that either of the other two may take over.
Variants§
Derived
crate::naming::derive: the opening message’s first line, written before any call.
Llm
The one small-model call, when its answer survived naming::clean_reply.
User
Typed by a person with rename (or the dashboard’s ⋮ → rename).
Implementations§
Trait Implementations§
Source§impl Clone for TitleSource
impl Clone for TitleSource
impl Copy for TitleSource
Source§impl Debug for TitleSource
impl Debug for TitleSource
impl Eq for TitleSource
Source§impl Ord for TitleSource
impl Ord for TitleSource
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TitleSource
impl PartialEq for TitleSource
Source§impl PartialOrd for TitleSource
impl PartialOrd for TitleSource
impl StructuralPartialEq for TitleSource
Auto Trait Implementations§
impl Forget for TitleSource
impl Freeze for TitleSource
impl Move for TitleSource
impl RefUnwindSafe for TitleSource
impl Send for TitleSource
impl Sync for TitleSource
impl Unpin for TitleSource
impl UnsafeUnpin for TitleSource
impl UnwindSafe for TitleSource
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.