Skip to main content

Module extract

Module extract 

Source
Expand description

Reconstruct a ConversationView from a toolpath Path using the conversation sub-protocol.

The sub-protocol uses three structural change types:

  • conversation.init โ€” sets session metadata (provider, session ID)
  • conversation.append โ€” adds a turn (user or assistant message)
  • tool.invoke โ€” attaches a tool invocation to a parent turn

Functionsยง

extract_conversation
Extract a ConversationView from a toolpath Path document.