a2aproject / a2aproject/a2a-samples

Task ID synchronization error: "Task was specified but does not exist" in airbnb_planner_multiagent

オープン
#333 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
1.8k
フォーク
751
PR マージ指標
30日以内にマージされた PR はありません

説明

### What happened?

The host agent was generating task IDs locally and sending them to remote agents (Weather Agent, Airbnb Agent) via the taskId field in message payloads. However, remote agents couldn't recognize these externally-generated task IDs because they expect to create their own tasks when receiving new messages, leading to JSONRPC errors.

_I have fixed the issue, I will be raising the PR soon._

### Relevant log output

```shell
JSONRPC error: Task was specified but does not exist

Added some custom logs to see the issue
# Host agent generating and sending task ID
🔑 Task ID: bbcd8576-d867-4296-8890-573d51da2fdc (from state)
✅ Added taskId to payload: bbcd8576-d867-4296-8890-573d51da2fdc

# Remote agent rejecting the unknown task ID
❌ Non-success response from 'weather_agent':
❌ Error details: Task bbcd8576-d867-4296-8890-573d51da2fdc was specified but does not exist
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。