Skip to main content

CommandDebugHistoryContext

Trait CommandDebugHistoryContext 

Source
pub trait CommandDebugHistoryContext {
    // Required methods
    fn last_user_input(&self) -> Option<String>;
    fn load_composer(&mut self, input: String);
    fn undo_conversation(&mut self) -> DebugConversationUndo;
}

Required Methods§

Source

fn last_user_input(&self) -> Option<String>

Source

fn load_composer(&mut self, input: String)

Source

fn undo_conversation(&mut self) -> DebugConversationUndo

Prepare a last-exchange rollback without mutating the live transcript. The host applies it only after the Engine acknowledges the truncated conversation; retry additionally waits for durable persistence (#6788).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§