Skip to content

Commit b420b52

Browse files
authored
fix: Remove unnecessary check in the tck AgentExecutor implementation (#194)
# Description **NOTE:** This will fail the TCK tests until a2aproject/a2a-tck#34 is included in a tag Depends on a2aproject/a2a-tck#34 - [X] Follow the [`CONTRIBUTING` Guide](../CONTRIBUTING.md). - [X] Make your Pull Request title in the <https://www.conventionalcommits.org/> specification. - Important Prefixes for [release-please](https://github.com/googleapis/release-please): - `fix:` which represents bug fixes, and correlates to a [SemVer](https://semver.org/) patch. - `feat:` represents a new feature, and correlates to a SemVer minor. - `feat!:`, or `fix!:`, `refactor!:`, etc., which represent a breaking change (indicated by the `!`) and will result in a SemVer major. - [X] Ensure the tests pass - [X] Appropriate READMEs were updated (if necessary)
1 parent da6e49d commit b420b52

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tck/src/main/java/io/a2a/tck/server/AgentExecutorProducer.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ private static class FireAndForgetAgentExecutor implements AgentExecutor {
2929
public void execute(RequestContext context, EventQueue eventQueue) throws JSONRPCError {
3030
Task task = context.getTask();
3131

32-
if (context.getMessage().getTaskId() != null && task == null && context.getMessage().getTaskId().startsWith("non-existent")) {
33-
throw new TaskNotFoundError();
34-
}
35-
3632
if (task == null) {
3733
task = new Task.Builder()
3834
.id(context.getTaskId())

0 commit comments

Comments
 (0)