Skip to content

Documentation / @agentick/shared / MessageEvent

Type Alias: MessageEvent ​

MessageEvent = object & StreamEventBase

Defined in: streaming.ts:274

Type Declaration ​

completedAt ​

completedAt: string

message ​

message: Message

model? ​

optional model: string

raw? ​

optional raw: unknown

Raw provider response (e.g., AI SDK generateText result, OpenAI ChatCompletion)

startedAt ​

startedAt: string

stopReason ​

stopReason: StopReason

type ​

type: "message"

usage? ​

optional usage: UsageStats

Released under the ISC License.