Skip to content

apollo-code


apollo-code / provider-kit/src / Message

Interface: Message

Properties

content

content: ContentPart[]


createdAt

createdAt: number


id

id: string


meta?

optional meta?: object

compacted?

optional compacted?: boolean

compactedMessageIds?

optional compactedMessageIds?: string[]

model?

optional model?: string

pinnedToContext?

optional pinnedToContext?: boolean

provider?

optional provider?: string

stopReason?

optional stopReason?: StopReason

turnId?

optional turnId?: string

usage?

optional usage?: Usage


role

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