RunItemStreamEvent
此内容尚不支持你的语言。
Streaming events that wrap a RunItem. As the agent processes the LLM response, it will generate
these events from new messages, tool calls, tool outputs, handoffs, etc.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new RunItemStreamEvent(name, item): RunItemStreamEvent;Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
|
The name of the event. |
|
|
The item that was created. |
Returns
Section titled “Returns”RunItemStreamEvent
Properties
Section titled “Properties”item: RunItem;The item that was created.
name: RunItemStreamEventName;The name of the event.
readonly type: "run_item_stream_event" = 'run_item_stream_event';