haive.agents.conversation.collaberative.state ============================================= .. py:module:: haive.agents.conversation.collaberative.state .. autoapi-nested-parse:: State for collaborative conversation agents. Classes ------- .. autoapisummary:: haive.agents.conversation.collaberative.state.CollaborativeState Functions --------- .. autoapisummary:: haive.agents.conversation.collaberative.state.merge_contribution_counts haive.agents.conversation.collaberative.state.merge_document_sections Module Contents --------------- .. py:class:: CollaborativeState(/, **data) Bases: :py:obj:`haive.agents.conversation.base.state.ConversationState` Extended state for collaborative conversations. Create a new model by parsing and validating input data from keyword arguments. Raises [`ValidationError`][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model. `self` is explicitly positional-only to allow `self` as a field name. .. py:function:: merge_contribution_counts(current, update) Merge contribution counts by summing values. .. py:function:: merge_document_sections(current, update) Merge document sections, preserving existing content.