//! Drop tool-call payloads from a conversation.
//!
//! Pure transform — no IO, no allocation beyond the result vec.
use crateTurn;
/// Return a new conversation with every turn's `tool_calls_json` stripped to
/// `None`. Also drops `tool`-role turns entirely (their content is the tool
/// result, which is noisy and rarely useful out of context).
///
/// This is the heart of the archivist: provider-specific tool-call JSON and
/// raw tool-result dumps distort vector embeddings of the surrounding human
/// conversation, so both are removed before the conversation lands in the tree.