Mode
public enum Mode
源码Source
io/agentscope/harness/agent/skill/runtime/ShellPathPolicy.java:40–44定义模式相关取值的枚举。位于 io.agentscope.harness.agent.skill.runtime 包。核心成员包括 NO_SHELL、SANDBOX、LOCAL_WITH_SHELL。
A enum in io.agentscope.harness.agent.skill.runtime that defines enum values used when components lets agents invoke external capabilities under control. Declared in io.agentscope.harness.agent.skill.runtime.
枚举常量摘要Enum Constant Summary
| 常量Constant | 说明Description |
|---|---|
NO_SHELL | 执行无 SHELL相关操作。 Performs the NO SHELL operation. |
SANDBOX | 执行沙箱相关操作。 Performs the SANDBOX operation. |
LOCAL_WITH_SHELL | 执行本地使用 SHELL相关操作。 Performs the LOCAL WITH SHELL operation. |
枚举常量详情Enum Constant Detail
NO_SHELL
NO_SHELL
staticfinal
执行无 SHELL相关操作。
Performs the NO SHELL operation.
源码Source
io/agentscope/harness/agent/skill/runtime/ShellPathPolicy.java:41SANDBOX
SANDBOX
staticfinal
执行沙箱相关操作。
Performs the SANDBOX operation.
源码Source
io/agentscope/harness/agent/skill/runtime/ShellPathPolicy.java:42LOCAL_WITH_SHELL
LOCAL_WITH_SHELL
staticfinal
执行本地使用 SHELL相关操作。
Performs the LOCAL WITH SHELL operation.
源码Source
io/agentscope/harness/agent/skill/runtime/ShellPathPolicy.java:43