pub struct InvokeThinking {
pub source: String,
pub correlation_id: Option<String>,
pub context: CurrentContext,
}Expand description
Event to trigger the thinking/planning phase.
This event initiates the planning process where the agent creates or refines a plan for answering the user’s query.
Fields§
§source: String§correlation_id: Option<String>§context: CurrentContextThe current context as we work through our response.
Trait Implementations§
Source§impl Clone for InvokeThinking
impl Clone for InvokeThinking
Source§fn clone(&self) -> InvokeThinking
fn clone(&self) -> InvokeThinking
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 InvokeThinking
impl Debug for InvokeThinking
Source§impl<'de> Deserialize<'de> for InvokeThinking
impl<'de> Deserialize<'de> for InvokeThinking
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
Source§impl Event for InvokeThinking
impl Event for InvokeThinking
Source§fn correlation_id(&self) -> Option<&str>
fn correlation_id(&self) -> Option<&str>
Returns the correlation ID if set
Source§fn set_correlation_id(&mut self, id: String)
fn set_correlation_id(&mut self, id: String)
Sets the correlation ID
Auto Trait Implementations§
impl Freeze for InvokeThinking
impl RefUnwindSafe for InvokeThinking
impl Send for InvokeThinking
impl Sync for InvokeThinking
impl Unpin for InvokeThinking
impl UnwindSafe for InvokeThinking
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