pub struct HandoffNoteConfig { /* private fields */ }Expand description
The notes a stage router hands the model it routed to, and the gate deciding which one a turn earns.
Stateless: a note describes the turn’s own signals, so every turn they drive carries one. It rides in the forwarded request only, never in the caller’s conversation, so notes cannot accumulate across turns.
Implementations§
Source§impl HandoffNoteConfig
impl HandoffNoteConfig
Sourcepub fn new(
escalation_note: impl Into<String>,
deescalation_note: Option<String>,
only_on_wrong_signal_escalation: bool,
) -> Self
pub fn new( escalation_note: impl Into<String>, deescalation_note: Option<String>, only_on_wrong_signal_escalation: bool, ) -> Self
Configure the notes: the escalation_note handed to the capable tier, an
optional deescalation_note handed back to the efficient tier, and
whether the escalation note fires only on a signal-driven escalation
(override / dimensions) rather than an ambiguous default.
Trait Implementations§
Source§impl Clone for HandoffNoteConfig
impl Clone for HandoffNoteConfig
Source§fn clone(&self) -> HandoffNoteConfig
fn clone(&self) -> HandoffNoteConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandoffNoteConfig
impl Debug for HandoffNoteConfig
Source§impl<'de> Deserialize<'de> for HandoffNoteConfig
impl<'de> Deserialize<'de> for HandoffNoteConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HandoffNoteConfig
impl RefUnwindSafe for HandoffNoteConfig
impl Send for HandoffNoteConfig
impl Sync for HandoffNoteConfig
impl Unpin for HandoffNoteConfig
impl UnsafeUnpin for HandoffNoteConfig
impl UnwindSafe for HandoffNoteConfig
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