Function is_tool_result_carrier
pub fn is_tool_result_carrier(role: &str, content: &str) -> boolExpand description
Whether a message is a tool-result carrier in either shape, legacy included: the same predicate every seam uses, so runtime, providers, and channels agree on what counts as a carrier even when its shape is legacy.