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: adapters create_instance interface
huanggawa2070c264e0d2
diff --git a/jiuwenclaw/agentserver/agent_adapters.py b/jiuwenclaw/agentserver/agent_adapters.pyindex 4d10bf0ab0..8bde076e12 100644--- a/jiuwenclaw/agentserver/agent_adapters.py+++ b/jiuwenclaw/agentserver/agent_adapters.py@@ -29,7 +29,7 @@ class AgentAdapter(Protocol):adapter modules implement it without any coupling to each other."""- async def create_instance(self, config: dict[str, Any] | None = None) -> None:+ async def create_instance(self, config: dict[str, Any] | None = None, *, mode: str = "claw") -> None:"""Initialise the underlying SDK agent from config.Called once on startup and again after skill install/uninstall.