Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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.1"
version = "1.1.2b1"
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
8 changes: 8 additions & 0 deletions src/agentscope_runtime/sandbox/manager/sandbox_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,14 @@ def create(
except Exception:
# ignore broken records
continue

# Check if limit is exceeded
if current >= limit:
logger.warning(
f"Sandbox instance limit reached: "
f"{current}/{limit} active instances",
)
return None
Comment thread
rayrayraykk marked this conversation as resolved.
Comment thread
rayrayraykk marked this conversation as resolved.
Comment thread
rayrayraykk marked this conversation as resolved.
except RuntimeError as e:
logger.warning(str(e))
return None
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.1"
__version__ = "v1.1.2b1"
Comment thread
rayrayraykk marked this conversation as resolved.
Loading