Skip to content

Commit c350853

Browse files
authored
Merge branch 'main' into main
2 parents 448c94c + ed28b59 commit c350853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/a2a/client/transports/rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ async def get_task(
214214
response_data = await self._send_get_request(
215215
f'/v1/tasks/{request.id}',
216216
{'historyLength': str(request.history_length)}
217-
if request.history_length
217+
if request.history_length is not None
218218
else {},
219219
modified_kwargs,
220220
)

0 commit comments

Comments
 (0)