Skip to content

agent-remote / Exports / IResponseMessage

Interface: IResponseMessage

Hierarchy

Table of contents

Properties

Properties

role

role: "user" | "assistant" | "system" | "tool"

Inherited from

IBasicMessage.role

Defined in

agent-remote/src/types/message-types.ts:14


content

content: null | string

Inherited from

IBasicMessage.content

Defined in

agent-remote/src/types/message-types.ts:15


timestamp

timestamp: Date

Defined in

agent-remote/src/types/message-types.ts:26


provider

Optional provider: string

Defined in

agent-remote/src/types/message-types.ts:27


model

Optional model: string

Defined in

agent-remote/src/types/message-types.ts:28


toolCalls

Optional toolCalls: IToolCall[]

Tool calls made by the assistant (OpenAI tool calling format)

Defined in

agent-remote/src/types/message-types.ts:30

Released under the MIT License.