remote / Exports / ResponseMessage
Interface: ResponseMessage
Message Types - Atomic Type Definitions
Single responsibility: Define only message-related types
Hierarchy
↳
ResponseMessage
Table of contents
Properties
Properties
role
• role: "user" | "assistant" | "system" | "tool"
Inherited from
Defined in
content
• content: null | string
Inherited from
Defined in
timestamp
• timestamp: Date
Defined in
provider
• Optional provider: string
Defined in
model
• Optional model: string
Defined in
toolCalls
• Optional toolCalls: { id: string ; type: "function" ; function: { name: string ; arguments: string } }[]
Tool calls made by the assistant (OpenAI tool calling format)