Documentation / @agentick/core / Timeline
Function: Timeline() ​
Timeline(
props):Element
Defined in: core/src/jsx/components/timeline.tsx:251
Renders conversation history from the COM timeline.
Parameters ​
props ​
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>