Strands Agents Typescript SDK
    Preparing search index...

    Interface ModelMessageStopEvent

    Event emitted when the message completes.

    interface ModelMessageStopEvent {
        type: "modelMessageStopEvent";
        stopReason: string;
        additionalModelResponseFields?: JSONValue;
    }

    Implements

    Index

    Properties

    type: "modelMessageStopEvent" = ...

    Discriminator for message stop events.

    stopReason: string

    Reason why generation stopped.

    additionalModelResponseFields?: JSONValue

    Additional provider-specific response fields.