pub struct CachedToolCall {
pub tool_use_id: String,
pub name: String,
pub args: Value,
}Expand description
Caches the LLM-emitted tool-use blocks so a replay rebuilds the same
tool_use_ids and the downstream ToolCallEnd lookups stay stable.
Mirror of akribes_core::replay_cache::CachedToolCall — same wire
shape; the type lives here so it can be embedded in
EngineEvent::LLMResponse without an akribes-core dependency.
Fields§
§tool_use_id: String§name: String§args: ValueTrait Implementations§
Source§impl Clone for CachedToolCall
impl Clone for CachedToolCall
Source§fn clone(&self) -> CachedToolCall
fn clone(&self) -> CachedToolCall
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 moreSource§impl Debug for CachedToolCall
impl Debug for CachedToolCall
Source§impl<'de> Deserialize<'de> for CachedToolCall
impl<'de> Deserialize<'de> for CachedToolCall
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 CachedToolCall
impl RefUnwindSafe for CachedToolCall
impl Send for CachedToolCall
impl Sync for CachedToolCall
impl Unpin for CachedToolCall
impl UnsafeUnpin for CachedToolCall
impl UnwindSafe for CachedToolCall
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