chore(docs): document strict AgentExecutor streaming rules in v1.0 guide#1014
Merged
sokoliva merged 2 commits intoa2aproject:mainfrom Apr 23, 2026
Merged
chore(docs): document strict AgentExecutor streaming rules in v1.0 guide#1014sokoliva merged 2 commits intoa2aproject:mainfrom
sokoliva merged 2 commits intoa2aproject:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the v1.0 migration documentation to include new sections on AgentExecutor streaming rules and corrects various cross-references and typos. The documentation now explicitly details the strict enforcement of streaming patterns, requiring either a single message or a task-first lifecycle. One minor improvement was suggested to generalize a violation description in the streaming rules table to cover all task update events.
ishymko
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
message/stream.InvalidAgentResponseErrorcases (mixingMessageandTaskevents, multipleMessages, updates before the initialTask) with a clear table mapped to the actual error messages fromactive_task.py.helloworld/agent_executor.pyin a2a-samples#474 as a working reference.Why
Existing v0.3 executors that mixed
MessageandTaskevents were silently tolerated. After #979 they fail at runtime withInvalidAgentResponseError, which is easy to hit and hard to diagnose without guidance. This section gives users a clear path to migrate.