AS AgentScopeAPI 手册 / API Reference

RemoteAskPolicy

public enum RemoteAskPolicy
源码Source io/agentscope/harness/agent/subagent/RemoteAskPolicy.java:22–35

定义远程 Ask 策略相关取值的枚举。位于 io.agentscope.harness.agent.subagent 包。核心成员包括 DENY、PROPAGATE。

Policy for resolving a remote subagent's tool-confirmation (HITL) requests when the parent cannot forward the decision to an interactive human within this call.

枚举常量摘要Enum Constant Summary

常量Constant说明Description
DENY
执行拒绝相关操作。
Auto-deny every pending remote confirmation (safe default).
PROPAGATE
执行 `PROPAGATE` 方法。
Forward the confirmation request upstream (via the parent's `AgentEventEmitter` stream) instead of auto-denying, so an interactive consumer can decide.

枚举常量详情Enum Constant Detail

DENY

DENY
staticfinal

执行拒绝相关操作。

Auto-deny every pending remote confirmation (safe default).

源码Source io/agentscope/harness/agent/subagent/RemoteAskPolicy.java:28

PROPAGATE

PROPAGATE
staticfinal

执行 PROPAGATE 方法。

Forward the confirmation request upstream (via the parent's AgentEventEmitter stream) instead of auto-denying, so an interactive consumer can decide.

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