Skip to content

HarnessMessageStopEvent

Structure Class

HarnessMessageStopEvent dataclass

Bases: _SerdeShape

Event indicating the end of a message.

Attributes

stop_reason instance-attribute
stop_reason: str

The reason the agent stopped generating.