Skip to content

Documentation / @agentick/core / Timeline

Function: Timeline()

Timeline(props): Element

Defined in: core/src/jsx/components/timeline.tsx:254

Renders conversation history from the COM timeline.

Parameters

props

TimelineProps

Returns

Element

Examples

tsx
<Timeline />
tsx
<Timeline roles={['user', 'assistant']} limit={10} />
tsx
<Timeline maxTokens={4000} strategy="truncate" />
tsx
<Timeline maxTokens={8000} headroom={500}>
  {(entries) => entries.map(entry => <Message key={entry.id} entry={entry} />)}
</Timeline>

Released under the ISC License.