types.ConversationRecordV2

types.ConversationRecordV2()

The v2 exchange-tree record, isolated from the released v1 model.

Attributes

Name Description
root_id The unique node with no parent.

Methods

Name Description
checkpoint_leaf Remembered coherent destination within a subtree, never its parent.
iter_visible_inputs Yield (exchange id, display index) for each input-bearing
newest_child Newest eligible child; insertion order breaks timestamp ties.

checkpoint_leaf

types.ConversationRecordV2.checkpoint_leaf(node_id)

Remembered coherent destination within a subtree, never its parent.

iter_visible_inputs

types.ConversationRecordV2.iter_visible_inputs()

Yield (exchange id, display index) for each input-bearing exchange on the active path, in display order.

The display index is the position of the exchange’s input message in the rendered transcript: an input occupies one slot, and each of the exchange’s messages occupies one.

newest_child

types.ConversationRecordV2.newest_child(children)

Newest eligible child; insertion order breaks timestamp ties.