diff --git a/docs/streaming.md b/docs/streaming.md index b2c7c095..3dcb2365 100644 --- a/docs/streaming.md +++ b/docs/streaming.md @@ -33,7 +33,7 @@ if __name__ == "__main__": ## Run item events and agent events -[`RunItemStreamEvent`][agents.stream_events.RunItemStreamEvent]s are higher level events. They inform you when an item has been fully generated. This allows you to push progress updates at the level of "message generated", "tool ran", etc, instead of each token. Similarly, [`AgentUpdatedStreamEvent`][agents.stream_events.AgentUpdatedStreamEvent] gives you updates when the current agent changes (e.g. as the result of a handoff). +[`RunItemStreamEvent`][agents.stream_events.RunItemStreamEvent] are higher level events. They inform you when an item has been fully generated. This allows you to push progress updates at the level of "message generated", "tool ran", etc, instead of each token. Similarly, [`AgentUpdatedStreamEvent`][agents.stream_events.AgentUpdatedStreamEvent] gives you updates when the current agent changes (e.g. as the result of a handoff). For example, this will ignore raw events and stream updates to the user.