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: core patch bugfix revert
ray_le01f7b21e74d3
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/pyproject.toml b/pyproject.tomlindex 13d668d9f6..02975fa922 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.7"+version = "0.1.7.post1"description = "JiuwenClaw"requires-python = ">=3.11,<3.14"license = { text = "Apache-2.0" }