Skip to main content

is_prompt_tool_carrier

Function is_prompt_tool_carrier 

pub fn is_prompt_tool_carrier(content: &str) -> bool
Expand description

Whether user-role content is a prompt-mode tool-result carrier. Mirrors the detection the provider layer has long used, so runtime and providers agree on what counts as a carrier even when its shape is legacy.