Skip to main content

reap_unanswered_tool_calls

Function reap_unanswered_tool_calls 

Source
async fn reap_unanswered_tool_calls(
    conn: &mut PgConnection,
    conversation_id: Uuid,
    scope: UnansweredToolCallScope<'_>,
) -> ChatbotResult<Vec<ChatbotConversationMessageToolCall>>
Expand description

Aborts the conversation’s tool calls that have no output and fall within scope. Returns the calls it left unanswered.