Skip to content

ModelStopResponse

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

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

readonly message: Message;

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

The message returned by the model.


readonly stopReason: StopReason;

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

The reason the model stopped generating.