Skip to content

ModelStopResponse

Defined in: src/hooks/events.ts:232

Response from a model invocation containing the message and stop reason.

readonly message: Message;

Defined in: src/hooks/events.ts:236

The message returned by the model.


readonly stopReason: StopReason;

Defined in: src/hooks/events.ts:240

The reason the model stopped generating.