pub struct GenerationToolReplay {
pub names: BTreeMap<String, String>,
pub kinds: BTreeMap<String, ToolCallKind>,
pub chat_forms: BTreeMap<String, ChatCallForm>,
pub original_call_ids: BTreeMap<String, String>,
}Expand description
Identity/name facts for replaying tool calls and results, all taken from the client’s history. Keys remain the exact client IDs.
Fields§
§names: BTreeMap<String, String>§kinds: BTreeMap<String, ToolCallKind>§chat_forms: BTreeMap<String, ChatCallForm>Native Chat forms of aliased calls replayed to a Chat upstream, keyed by the client alias.
original_call_ids: BTreeMap<String, String>The upstream ID each alias names.
Trait Implementations§
Source§impl Debug for GenerationToolReplay
impl Debug for GenerationToolReplay
Auto Trait Implementations§
impl Freeze for GenerationToolReplay
impl RefUnwindSafe for GenerationToolReplay
impl Send for GenerationToolReplay
impl Sync for GenerationToolReplay
impl Unpin for GenerationToolReplay
impl UnsafeUnpin for GenerationToolReplay
impl UnwindSafe for GenerationToolReplay
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