Interface: UIChatMessage
Defined in: core/dist/types/providers/types.d.ts:380
UI Chat message type - OpenAI's ChatMessage with UI-specific fields Used for frontend display and state management
Properties
agentId?
optionalagentId?:string
Defined in: core/dist/types/providers/types.d.ts:397
Multi-agent / group attribution
agentName?
optionalagentName?:string
Defined in: core/dist/types/providers/types.d.ts:398
avatarEmoji?
optionalavatarEmoji?:string
Defined in: core/dist/types/providers/types.d.ts:399
content
content:
string|MessageContentBlock[]
Defined in: core/dist/types/providers/types.d.ts:383
id
id:
string
Defined in: core/dist/types/providers/types.d.ts:381
role
role:
MessageRole
Defined in: core/dist/types/providers/types.d.ts:382
timestamp?
optionaltimestamp?:Date
Defined in: core/dist/types/providers/types.d.ts:384
tool_call_id?
optionaltool_call_id?:string
Defined in: core/dist/types/providers/types.d.ts:385
tool_calls?
optionaltool_calls?:object[]
Defined in: core/dist/types/providers/types.d.ts:386
function
function:
object
function.arguments
arguments:
string
function.name
name:
string
id
id:
string
result?
optionalresult?:unknown
Tool execution result (consolidated format for UI display)
type
type:
"function"