builders.TextEmpty

Matches events with blank text.

Usage

Source

builders.TextEmpty(consider_tool_use=True)

Parameter Attributes

consider_tool_use: bool = True

Attributes

consider_tool_use: bool
When true, an assistant event with a tool-use block is not considered empty even with blank text.