Skip to main content

Module chatbot_conversation_message_tool_calls

Module chatbot_conversation_message_tool_calls 

Source

Structs§

ChatbotConversationMessageToolCall

Enums§

ToolKind

Functions§

delete
get_by_id
get_by_message_id
get_hanging_tool_calls_for_conversation
Sometimes during chatbot conversation streaming, the stream ends unexpectedly while a tool call has been made but not answered. This happens with provider tools that we can’t control. In this case, the conversation is left in a state which is invalid, so we need to delete the un-answered tool call(s).
insert