a2aproject/a2a-python

[Bug]: Task xxx was specified but does not exist

Zhanjh1 opened this issue · 1 comments

What happened?

Why did my code run on 0.2.6 but encounter the following error on 0.2.16:
root=JSONRPCErrorResponse(error=JSONRPCError(code=-32001, data=None, message='Task 66e03ae42698426aa7e7bd66ce886d15 was specified but does not exist'), id=None, jsonrpc='2.0')
Do I need to create the task in task_manager before sending the message with the task id?

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

You must create a new task id, you cannot share taskids between agents.