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: 版本号修改&bugfix
ray_le6c43b8b5e956
diff --git a/jiuwenclaw/channel/xiaoyi_channel.py b/jiuwenclaw/channel/xiaoyi_channel.pyindex ff31f1986c..e97c7787d9 100644--- a/jiuwenclaw/channel/xiaoyi_channel.py+++ b/jiuwenclaw/channel/xiaoyi_channel.py@@ -308,6 +308,7 @@ class XiaoyiChannel(BaseChannel):"""发送消息到小艺服务端(A2A 格式,双通道发送)."""if not self._ws_connections:return+ logger.info(f"XiaoyiChannel 发送消息: {msg}")session_id, task_id = self._extract_platform_receive_info(msg)# Handle chat.file eventif self.config.mode == "xiaoyi_claw" and msg.event_type == EventType.CHAT_FILE:@@ -332,7 +333,6 @@ class XiaoyiChannel(BaseChannel):except Exception as e:logger.warning(f"XiaoyiChannel 发送文件响应失败 ({url_key}): {e}")return- logger.info(f"XiaoyiChannel 发送消息: {msg}")content = ""cron_job_name = ""diff --git a/jiuwenclaw/jiuwen_core_patch.py b/jiuwenclaw/jiuwen_core_patch.pyindex 55f77030c0..53681e841a 100644--- a/jiuwenclaw/jiuwen_core_patch.py+++ b/jiuwenclaw/jiuwen_core_patch.py@@ -42,7 +42,7 @@ class PatchOpenAIModelClient(OpenAIModelClient):)default_headers = os.getenv("default_headers", None)try:- default_headers = json.loads(default_headers)+ default_headers = json.loads(default_headers) if default_headers else Noneexcept json.decoder.JSONDecodeError as error:llm_logger.warning(f"Model default headers parse failed: {error}")default_headers = Nonediff --git a/jiuwenclaw/web/src/components/SessionSidebar/index.tsx b/jiuwenclaw/web/src/components/SessionSidebar/index.tsxindex 80e534de28..eb40ed6b74 100644--- a/jiuwenclaw/web/src/components/SessionSidebar/index.tsx+++ b/jiuwenclaw/web/src/components/SessionSidebar/index.tsx@@ -141,7 +141,7 @@ export function SessionSidebar({<div className="pt-4 mt-4 border-t border-border text-xs text-text-muted"><div className="px-2.5">- <span>{t('version', { version: '0.1.6' })}</span>+ <span>{t('version', { version: '0.1.7' })}</span></div></div></aside>diff --git a/pyproject.toml b/pyproject.tomlindex 93212110a0..13d668d9f6 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"[project]name = "jiuwenclaw"optional-dependencies = { dev = ["pyinstaller>=6.0.0"] }-version = "0.1.5"+version = "0.1.7"description = "JiuwenClaw"requires-python = ">=3.11,<3.14"license = { text = "Apache-2.0" }