Skip to content

remote / Exports / IResponseMessage

Interface: IResponseMessage

Hierarchy

Table of contents

Properties

Properties

role

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

Inherited from

IBasicMessage.role

Defined in

remote/src/types/message-types.ts:11


content

content: null | string

Inherited from

IBasicMessage.content

Defined in

remote/src/types/message-types.ts:12


timestamp

timestamp: Date

Defined in

remote/src/types/message-types.ts:23


provider

Optional provider: string

Defined in

remote/src/types/message-types.ts:24


model

Optional model: string

Defined in

remote/src/types/message-types.ts:25


toolCalls

Optional toolCalls: IToolCall[]

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

Defined in

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

Released under the MIT License.