You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: Use AgentEmitter instead of EventQueue in AgentExecutor methods (#621)
BREAKING CHANGE: AgentEmitter contains the methods from the old
TaskUpdater
and is now the only way agents send results back to the caller. This
hides
the EventQueue mechanism from users.
Also introduced a check that when placing a full Task object on the
queue,
which should only be done for calls with no existing Task, that the
Task's ID is the one expected for the queue, as calculated by the
RequestContext.
Added Message and Task builders to AgentEmitter to help with using the
proper taskID and contextId.
Treat A2AErrors internally as a state transition to FAILED.
Register EventConsumer callback before starting agent to fix a race
condition/hang when an agent completes before the callback is
registered.
Fixes#604 🦕
---------
Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
Co-authored-by: Emmanuel Hugonnet <ehugonne@redhat.com>
Copy file name to clipboardExpand all lines: extras/push-notification-config-store-database-jpa/src/test/java/io/a2a/extras/pushnotificationconfigstore/database/jpa/JpaDatabasePushNotificationConfigStoreTestAgentExecutor.java
Copy file name to clipboardExpand all lines: extras/queue-manager-replicated/core/src/test/java/io/a2a/extras/queuemanager/replicated/core/ReplicatedQueueManagerTest.java
Copy file name to clipboardExpand all lines: extras/queue-manager-replicated/tests-multi-instance/quarkus-common/src/main/java/io/a2a/extras/queuemanager/replicated/tests/multiinstance/common/MultiInstanceReplicationAgentExecutor.java
Copy file name to clipboardExpand all lines: extras/queue-manager-replicated/tests-single-instance/src/test/java/io/a2a/extras/queuemanager/replicated/tests/ReplicationTestAgentExecutor.java
0 commit comments