Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "agentscope-runtime"
version = "1.1.2b2"
version = "1.1.2b3"
description = "A production-ready runtime framework for agent applications, providing secure sandboxed execution environments and scalable deployment solutions with multi-framework support."
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion src/agentscope_runtime/engine/tracing/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ async def iter_entry() -> AsyncGenerator[T_co, None]:
async for resp in iter_entry():
yield resp

except Exception as e:
except BaseException as e:
raise e
Comment on lines +469 to 470
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Catching BaseException here is unnecessarily broad (it includes asyncio.CancelledError, KeyboardInterrupt, SystemExit) and the handler just re-raises anyway. This also uses raise e, which rewrites the traceback; prefer removing the try/except entirely, or at minimum catch Exception and use bare raise to preserve the original traceback/cancellation semantics.

Copilot uses AI. Check for mistakes.

@wraps(func)
Expand Down
2 changes: 1 addition & 1 deletion src/agentscope_runtime/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
__version__ = "v1.1.2b2"
__version__ = "v1.1.2b3"
Loading