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:
51
51
52
52
53
53
@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 :
55
57
"""
56
58
List all tasks that have been created for the agent.
57
59
"""
@@ -84,7 +86,7 @@ async def get_agent_task(task_id: str) -> Task:
84
86
)
85
87
async def list_agent_task_steps (
86
88
task_id : str , page_size : int = 10 , current_page : int = 1
87
- ) -> List [ str ] :
89
+ ) -> TaskStepsListResponse :
88
90
"""
89
91
List all steps for the specified task.
90
92
"""
You can’t perform that action at this time.
0 commit comments