myagent-ai 1.22.1 → 1.22.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myagent-ai",
3
- "version": "1.22.1",
3
+ "version": "1.22.2",
4
4
  "description": "本地桌面端执行型AI助手 - Open Interpreter 风格 | Local Desktop Execution-Oriented AI Assistant",
5
5
  "main": "main.py",
6
6
  "bin": {
package/web/api_server.py CHANGED
@@ -220,7 +220,6 @@ class ApiServer:
220
220
  # 任务列表内存存储(exec 模式,替代 task.md)
221
221
  self._task_list_store: dict[str, list] = {} # session_id -> [{text, status}] (per-session, not per-agent)
222
222
  # 模型链并发锁:防止并发请求互相覆盖 self.core.llm 配置
223
- import asyncio
224
223
  self._model_chain_lock = asyncio.Lock()
225
224
  self._setup_routes()
226
225
  self._runner: Optional[web.AppRunner] = None