Skip to content
Merged
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: 2 additions & 0 deletions agentrun/integration/agentscope/builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def sandbox_toolset(
template_type: TemplateType = TemplateType.CODE_INTERPRETER,
config: Optional[Config] = None,
sandbox_idle_timeout_seconds: int = 600,
local_artifact_dir: Optional[str] = None,
prefix: Optional[str] = None,
) -> List[Any]:
"""将沙箱模板封装为 LangChain ``StructuredTool`` 列表。 / AgentScope Built-in Integration Functions"""
Expand All @@ -86,6 +87,7 @@ def sandbox_toolset(
template_type=template_type,
config=config,
sandbox_idle_timeout_seconds=sandbox_idle_timeout_seconds,
local_artifact_dir=local_artifact_dir,
).to_agentscope(prefix=prefix)


Expand Down
Loading
Loading