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
{{ message }}
Repository navigation
v0.3 REST GetTask returns 500 for a non-integer historyLength #1381
GET /v1/tasks/{id}?historyLength=abc on the v0.3 REST transport returns 500 INTERNAL with unknown exception. The v1.0 REST transport returns 400 INVALID_ARGUMENT for the same input.
Why
REST03Handler.on_get_task calls int() on the query value directly, and the ValueError is not mapped to an A2A error.
Activity
fix(compat): return 400 for a non-integer v0.3 REST historyLength (a2…