pub struct MessagingContext {
pub reminders: Vec<String>,
pub user_messages: Vec<String>,
}Expand description
Post-tool messaging extension: reminders and user messages.
Populated via [AfterToolExecuteAction::AddSystemReminder] and
[AfterToolExecuteAction::AddUserMessage] during AfterToolExecute.
Fields§
§reminders: Vec<String>System reminders injected after tool results.
user_messages: Vec<String>User messages to append after tool execution.
Trait Implementations§
Source§impl Clone for MessagingContext
impl Clone for MessagingContext
Source§fn clone(&self) -> MessagingContext
fn clone(&self) -> MessagingContext
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 MessagingContext
impl Debug for MessagingContext
Source§impl Default for MessagingContext
impl Default for MessagingContext
Source§fn default() -> MessagingContext
fn default() -> MessagingContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MessagingContext
impl RefUnwindSafe for MessagingContext
impl Send for MessagingContext
impl Sync for MessagingContext
impl Unpin for MessagingContext
impl UnwindSafe for MessagingContext
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