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;name: RunItemStreamEventName;readonly type: "run_item_stream_event" = "run_item_stream_event";