pub struct PostLlmCtx {
pub session_id: SessionId,
pub full_text: String,
pub is_tool_call: bool,
pub tool_calls: Vec<(String, String, String)>,
pub available_tools: Vec<String>,
pub turn_count: u32,
pub total_tool_calls: usize,
pub nudge_count: usize,
pub turn_tool_calls: usize,
pub skip_push: bool,
pub follow_up_message: Option<String>,
}Fields§
§session_id: SessionId§full_text: String§is_tool_call: bool§tool_calls: Vec<(String, String, String)>§available_tools: Vec<String>§turn_count: u32§total_tool_calls: usize§nudge_count: usizeNumber of tool-enforcement nudges issued in the current turn. Read from session; middleware may increment this to track nudge attempts.
turn_tool_calls: usizeNumber of tool calls already executed in the current turn.
Used by TurnToolLimitMiddleware to enforce per-turn tool call limits.
skip_push: bool§follow_up_message: Option<String>Trait Implementations§
Source§impl Clone for PostLlmCtx
impl Clone for PostLlmCtx
Source§fn clone(&self) -> PostLlmCtx
fn clone(&self) -> PostLlmCtx
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PostLlmCtx
impl RefUnwindSafe for PostLlmCtx
impl Send for PostLlmCtx
impl Sync for PostLlmCtx
impl Unpin for PostLlmCtx
impl UnsafeUnpin for PostLlmCtx
impl UnwindSafe for PostLlmCtx
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