Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

fix: 更新版本号0.1.9.post1 & agent实例获取

ray_le5635cea14ad1
diff --git a/jiuwenclaw/agentserver/agent_manager.py b/jiuwenclaw/agentserver/agent_manager.py
index 2882642c0e..796b4f902d 100644
--- a/jiuwenclaw/agentserver/agent_manager.py
+++ b/jiuwenclaw/agentserver/agent_manager.py
@@ -168,8 +168,7 @@ class AgentManager:
Returns:
JiuWenClaw | None: Agent 实例,如果不存在则返回 None
"""
- agent_key = channel_id if channel_id == "acp" else "default"
- return self.agents.get(agent_key)
+ return self.agents.get(channel_id)
async def cleanup(self) -> None:
"""清理所有 agent 实例."""
diff --git a/pyproject.toml b/pyproject.toml
index 108be127cc..daeb5855c7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "jiuwenclaw"
-version = "0.1.9"
+version = "0.1.9.post1"
description = "JiuwenClaw"
requires-python = ">=3.11,<3.14"
license = { text = "Apache-2.0" }
@@ -16,7 +16,7 @@ dependencies = [
"ruamel.yaml>=0.18.0",
"lark-oapi>=1.5.3",
"loguru>=0.7.3",
- "openjiuwen==0.1.10.post1",
+ "openjiuwen==0.1.10.post2",
"pip==26.0.1",
"pgvector>=0.4.2",
"websockets>=12.0",