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:28PROPAGATE
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