Skip to main content

waiting_client_tool_call_ids

Function waiting_client_tool_call_ids 

Source
pub fn waiting_client_tool_call_ids(
    messages: &[ChatbotConversationMessage],
) -> Vec<&str>
Expand description

The tool_call_ids of the conversation’s client tool calls that no output answers, in message order: what a suspended turn is waiting for the client to answer.

messages are a conversation’s messages in order, as get_by_conversation_id returns them; a call is answered by a tool output carrying its tool_call_id, which is also how aborting one is recorded.