Interface: ThreadEventBase
Defined in: packages/kernl/src/api/models/thread.ts:101
Common metadata for all thread events.
These fields are added on top of the underlying LanguageModelItem
when events are persisted to storage.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
id | string | Globally-unique event identifier within the thread. | packages/kernl/src/api/models/thread.ts:105 |
metadata | Record<string, unknown> | Arbitrary metadata attached to the event (implementation-specific). | packages/kernl/src/api/models/thread.ts:127 |
seq | number | Monotonically-increasing sequence number within the thread. seq defines the total order of events for a given thread. | packages/kernl/src/api/models/thread.ts:117 |
tid | string | ID of the thread this event belongs to. | packages/kernl/src/api/models/thread.ts:110 |
timestamp | Date | Timestamp when the event was recorded (wall-clock time). | packages/kernl/src/api/models/thread.ts:122 |