Skip to content

ThreadMarker

Positional marker for conversation history insertion during template rendering.

During prepare(), nonce strings in rendered text are replaced with ThreadMarker objects. The pipeline then replaces them with actual conversation messages from the inputs.

---
title: ThreadMarker
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class ThreadMarker {
        +string name
        +string kind
    }
name: thread
kind: thread
NameTypeDescription
namestringThe input property name (e.g. ‘conversation’)
kindstringThe rich kind (‘thread’, ‘image’, ‘file’, ‘audio’)