Skip to content

bodhi-realtime-agent / ConversationItem

Interface: ConversationItem

Defined in: types/conversation.ts:9

A single entry in the conversation timeline (message, tool call, or agent transfer).

Properties

content

content: string

Defined in: types/conversation.ts:13

The textual content (or JSON-serialized data for tool_call/tool_result).


metadata?

optional metadata: Record<string, unknown>

Defined in: types/conversation.ts:17

Optional application-specific metadata.


role

role: ConversationItemRole

Defined in: types/conversation.ts:11

Who produced this item.


timestamp

timestamp: number

Defined in: types/conversation.ts:15

Unix timestamp in milliseconds when this item was created.

Built with VitePress