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
Python: A2AAgent rejects int timeouts (only float/httpx.Timeout accepted) #8515
A2AAgent(url=..., timeout=30) raises TypeError: Invalid timeout type: <class 'int'>. the type guard only accepts float and httpx.Timeout, but an int timeout is the most natural way to write it and httpx itself accepts ints everywhere (PEP 484 numeric tower: int is acceptable where float is expected).
Hi! I would like to take this on. Plan: accept int timeouts in A2AAgent by normalizing to float/httpx.Timeout at the boundary, plus a regression test. Please let me know if that direction sounds right. Thanks!
Islam Al-Nashar (@aslamalkarywk7) Islam El-Nashar (aslamalkarywk7)
appreciate it! there's already a PR open for this one (#8516), but it could use a proper review. come take a look and let's finish it together, the server-url tests are all yours if you want them
Activity
aslamalkarywk7 commentedon Sep 18, 2026
Hi! I would like to take this on. Plan: accept int timeouts in A2AAgent by normalizing to float/httpx.Timeout at the boundary, plus a regression test. Please let me know if that direction sounds right. Thanks!
ManoharPaturi commentedon Sep 19, 2026
Islam Al-Nashar (@aslamalkarywk7) Islam El-Nashar (aslamalkarywk7)
appreciate it! there's already a PR open for this one (#8516), but it could use a proper review. come take a look and let's finish it together, the server-url tests are all yours if you want them