myagent-ai 1.23.39 → 1.23.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1614,9 +1614,9 @@ class MainAgent(BaseAgent):
1614
1614
  _tp.initialize()
1615
1615
  _tp.save_task(
1616
1616
  task_id=task_id,
1617
- description=context.user_input or "未完成任务",
1617
+ description=context.user_message or "未完成任务",
1618
1618
  session_id=context.session_id or "",
1619
- agent_path=context.agent_path or "",
1619
+ agent_path=context.metadata.get("agent_path", "") or "",
1620
1620
  status="pending",
1621
1621
  metadata={"iterations": self._iteration_count, "reason": "达到最大迭代次数"},
1622
1622
  last_message=f"达到最大迭代次数 {max_iter},共执行 {self._iteration_count} 次",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myagent-ai",
3
- "version": "1.23.39",
3
+ "version": "1.23.40",
4
4
  "description": "本地桌面端执行型AI助手 - Open Interpreter 风格 | Local Desktop Execution-Oriented AI Assistant",
5
5
  "main": "main.py",
6
6
  "bin": {