Explorar o código

增加agent提交执行和查询任务功能

xueyiming hai 2 días
pai
achega
a4222b2ebd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pqai_agent_server/agent_task_server.py

+ 1 - 1
pqai_agent_server/agent_task_server.py

@@ -98,7 +98,7 @@ class AgentTaskManager:
                     "agentName": agent_configuration.name,
                     "statusName": get_agent_task_status_desc(agent_task.status),
                     "startTime": agent_task.start_time.strftime("%Y-%m-%d %H:%M:%S"),
-                    "end_time": agent_task.start_time.strftime(
+                    "endTime": agent_task.start_time.strftime(
                         "%Y-%m-%d %H:%M:%S") if agent_task.start_time is not None else None,
                     "createUser": agent_task.create_user,
                     "input": agent_task.input,