Skip to main content

turn_is_suspended

Function turn_is_suspended 

Source
pub fn turn_is_suspended(messages: &[ChatbotConversationMessage]) -> bool
Expand description

Whether the conversation’s newest turn is suspended: waiting for the client to answer a ClientTool call it made.

Such a turn has not ended, it continues in the request that brings the answer, without the learner writing anything. See waiting_client_tool_call_ids for which calls those are.