Skip to main content

unknown_tool_feedback

Function unknown_tool_feedback 

Source
pub fn unknown_tool_feedback<'a>(
    name: &str,
    tools: impl IntoIterator<Item = &'a str>,
) -> String
Expand description

Corrects a call to an unavailable name, listing tools in sorted order. The caller must supply only names the agent is allowed to use.