We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec4b48 commit 82ced2fCopy full SHA for 82ced2f
src/a2a/client/transports/grpc.py
@@ -138,7 +138,10 @@ async def get_task(
138
) -> Task:
139
"""Retrieves the current state and history of a specific task."""
140
task = await self.stub.GetTask(
141
- a2a_pb2.GetTaskRequest(name=f'tasks/{request.id}')
+ a2a_pb2.GetTaskRequest(
142
+ name=f'tasks/{request.id}',
143
+ history_length=request.history_length,
144
+ )
145
)
146
return proto_utils.FromProto.task(task)
147
0 commit comments