There was an error while loading. Please reload this page.
historyLength=0
1 parent 4a4b4a9 commit ed28b59Copy full SHA for ed28b59
src/a2a/client/transports/rest.py
@@ -214,7 +214,7 @@ async def get_task(
214
response_data = await self._send_get_request(
215
f'/v1/tasks/{request.id}',
216
{'historyLength': str(request.history_length)}
217
- if request.history_length
+ if request.history_length is not None
218
else {},
219
modified_kwargs,
220
)
0 commit comments