Skip to main content

invalid_call_feedback

Function invalid_call_feedback 

Source
pub fn invalid_call_feedback(
    content: &[AssistantContent],
    invalid: &CallId,
    feedback: &str,
) -> Vec<UserContent>
Expand description

The tool results answering a turn with an invalid call, in call order: feedback for the call invalid, TOOL_NOT_EXECUTED_DUE_TO_INVALID_PEER for every other call. Empty when content has no tool calls.