AS AgentScopeAPI 手册 / API Reference

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:41

SANDBOX

SANDBOX
staticfinal

执行沙箱相关操作。

Performs the SANDBOX operation.

源码Source io/agentscope/harness/agent/skill/runtime/ShellPathPolicy.java:42

LOCAL_WITH_SHELL

LOCAL_WITH_SHELL
staticfinal

执行本地使用 SHELL相关操作。

Performs the LOCAL WITH SHELL operation.

源码Source io/agentscope/harness/agent/skill/runtime/ShellPathPolicy.java:43
基于官方固定版本源码静态生成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.