File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/sdk/python/agent_protocol Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,9 @@ async def create_agent_task(body: TaskRequestBody | None = None) -> Task:
5151
5252
5353@base_router .get ("/ap/v1/agent/tasks" , response_model = TaskListResponse , tags = ["agent" ])
54- async def list_agent_tasks_ids (page_size : int = 10 , current_page : int = 1 ) -> List [str ]:
54+ async def list_agent_tasks_ids (
55+ page_size : int = 10 , current_page : int = 1
56+ ) -> TaskListResponse :
5557 """
5658 List all tasks that have been created for the agent.
5759 """
@@ -84,7 +86,7 @@ async def get_agent_task(task_id: str) -> Task:
8486)
8587async def list_agent_task_steps (
8688 task_id : str , page_size : int = 10 , current_page : int = 1
87- ) -> List [ str ] :
89+ ) -> TaskStepsListResponse :
8890 """
8991 List all steps for the specified task.
9092 """
You can’t perform that action at this time.
0 commit comments