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: RuntimeError raise no active Exception

ray_lec7ba5db46822
diff --git a/jiuwenclaw/agentserver/interface.py b/jiuwenclaw/agentserver/interface.py
index 1f958ec5b6..a5455fa1b4 100644
--- a/jiuwenclaw/agentserver/interface.py
+++ b/jiuwenclaw/agentserver/interface.py
@@ -981,7 +981,7 @@ class JiuWenClaw:
if event_type == "error":
if isinstance(data, asyncio.CancelledError):
logger.info("[JiuWenClaw] 流式处理被中断: request_id=%s", rid)
- raise
+ raise data
yield AgentResponseChunk(
request_id=rid,
channel_id=cid,
diff --git a/pyproject.toml b/pyproject.toml
index 2582de9f17..5365dd5b6c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "jiuwenclaw"
-version = "0.1.1"
+version = "0.1.4"
description = "JiuwenClaw"
requires-python = ">=3.11,<3.14"
dependencies = [