pub struct PerTurnEffortChangedMessage {
pub per_turn_effort_active: bool,
pub uuid: String,
pub session_id: String,
}Expand description
system/per_turn_effort_changed — the conversation stopped sending effort
per turn, because the server refused its per-turn effort message or a
role:"system" message. From the retried request on, an effort change
rewrites the cached prefix, for every model, until a later system/init
says otherwise. Sent once, when the conversation first turns per-turn
effort off, before the retried request’s output; sent again only if the
server refuses again after the conversation’s refusals are cleared (for
example by /clear or a compaction). It can repeat a false the host
already holds. Pairs with InitMessage::per_turn_effort_active
(CLI 2.1.281+).
Fields§
§per_turn_effort_active: boolAlways false: a change to true is reported only by system/init.
uuid: String§session_id: StringTrait Implementations§
Source§impl Clone for PerTurnEffortChangedMessage
impl Clone for PerTurnEffortChangedMessage
Source§impl Debug for PerTurnEffortChangedMessage
impl Debug for PerTurnEffortChangedMessage
Source§impl<'de> Deserialize<'de> for PerTurnEffortChangedMessage
impl<'de> Deserialize<'de> for PerTurnEffortChangedMessage
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 PerTurnEffortChangedMessage
impl RefUnwindSafe for PerTurnEffortChangedMessage
impl Send for PerTurnEffortChangedMessage
impl Sync for PerTurnEffortChangedMessage
impl Unpin for PerTurnEffortChangedMessage
impl UnsafeUnpin for PerTurnEffortChangedMessage
impl UnwindSafe for PerTurnEffortChangedMessage
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