AS AgentScopeAPI 手册 / API Reference

NoopSandboxExecutionGuard

final class NoopSandboxExecutionGuard implements SandboxExecutionGuard
源码Source io/agentscope/harness/agent/sandbox/SandboxExecutionGuard.java:83–93

Noop 沙箱执行守卫,承载智能体的部署、调度与服务化运行。位于 io.agentscope.harness.agent.sandbox 包,实现 SandboxExecutionGuard。核心成员包括 tryEnter。

Singleton no-op implementation.

方法摘要Method Summary

方法Method说明Description
public SandboxLease tryEnter(SandboxIsolationKey key)
设置该参数。
Performs the try enter operation.

方法详情Method Detail

tryEnter

public SandboxLease tryEnter(SandboxIsolationKey key)

设置该参数。

Performs the try enter operation.

参数Parameters
名称Name类型Type说明Description
keySandboxIsolationKey键(类型 `SandboxIsolationKey`)。The key.
返回Returns SandboxLease
返回SandboxLease。Returns sandbox lease.
源码Source io/agentscope/harness/agent/sandbox/SandboxExecutionGuard.java:89–92

继承成员Inherited Members

继承自Methods inherited from SandboxExecutionGuard
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.