mirror of
https://github.com/yuruotong1/autoMate.git
synced 2025-12-25 21:06:47 +08:00
更新 task_completed_number
This commit is contained in:
parent
0f9b9954b7
commit
5787e2167b
283
task_demonstration.json
Normal file
283
task_demonstration.json
Normal file
File diff suppressed because one or more lines are too long
@ -78,7 +78,10 @@ class AgentWorker(QThread):
|
||||
|
||||
# Update task progress
|
||||
content_json = json.loads(self.state["messages"][-1]["content"])
|
||||
task_completed_number = content_json["current_task_id"]
|
||||
if "current_task_id" in content_json:
|
||||
task_completed_number = content_json["current_task_id"]
|
||||
else:
|
||||
task_completed_number = 0
|
||||
|
||||
# Update status with reasoning
|
||||
if "reasoning" in content_json:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user