a2aproject / a2aproject/a2a-samples
[Bug]: ADK example returns inconsistent state
- Langage dominant
- Jupyter Notebook
- Étoiles
- 1.8k
- Forks
- 751
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### What happened?
The Google ADK example agent sometimes returns status `completed` when it should return `input-required`. Attaching an example log where this occurred. Agent responds with text stating `Could you please provide the date, amount, and business justification/purpose for the plane ticket?` but status is set to `completed`
### Relevant log output
```shell
========= starting a new task ========
What do you want to send to the agent? (:q or quit to exit): can you reimburse me for my plane ticket
stream event => {"jsonrpc":"2.0","id":"55d1e4697a0c49da8eaf88314e441bc6","result":{"id":"dd6745735a954d13bfa2f0cf8ecd9bfe","status":{"state":"completed","message":{"role":"agent","parts":[{"type":"text","text":"Could you please provide the date, amount, and business justification/purpose for the plane ticket?\n"}]},"timestamp":"2025-04-14T12:02:43.554273"},"final":false}}
stream event => {"jsonrpc":"2.0","id":"55d1e4697a0c49da8eaf88314e441bc6","result":{"id":"dd6745735a954d13bfa2f0cf8ecd9bfe","artifact":{"parts":[{"type":"text","text":"Could you please provide the date, amount, and business justification/purpose for the plane ticket?\n"}],"index":0,"append":false}}}
stream event => {"jsonrpc":"2.0","id":"55d1e4697a0c49da8eaf88314e441bc6","result":{"id":"dd6745735a954d13bfa2f0cf8ecd9bfe","status":{"state":"completed","timestamp":"2025-04-14T12:02:43.554655"},"final":true}}
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.