How much of an LLM input a span records; the model always receives all of it.

With base set, the record continues the one on that span, its parent: remove the parent's last droppedFromBase entries, then append this span's (chatCtx on llm_node, conversation on llm_request). Empty instructions then mean the parent's apply.

Constructors

Properties

base?: SpanContext
chatCtx: ChatContext
conversation: ChatItem[]
droppedFromBase?: number
instructions: ChatItem[]

Methods