AS AgentScopeAPI 手册 / API Reference

HitlDecisionFence

record HitlDecisionFence( String sessionId, String toolUseId, String approvalId, String agentTaskId, String attemptId, long dispatchGeneration, String turnId)
源码Source io/agentscope/builder/web/coord/CoordinationStore.java:180–187

承载 Hitl 决策 Fence数据的记录类型。位于 io.agentscope.builder.web.coord 包。核心成员包括 sessionId、toolUseId、approvalId、agentTaskId、attemptId、dispatchGeneration。

Full correlation fence required to decide a managed AgentTask confirmation.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
sessionIdString
执行会话标识相关操作。
Performs the session id operation.
toolUseIdString
执行工具使用标识相关操作。
Performs the tool use id operation.
approvalIdString
执行 `approvalId` 方法。
Performs the approval id operation.
agentTaskIdString
执行智能体任务标识相关操作。
Performs the agent task id operation.
attemptIdString
执行尝试标识相关操作。
Performs the attempt id operation.
dispatchGenerationlong
执行 `dispatchGeneration` 方法。
Performs the dispatch generation operation.
turnIdString
执行轮次标识相关操作。
Performs the turn id operation.

记录组件详情Record Component Detail

sessionId

String sessionId

执行会话标识相关操作。

Performs the session id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:180–187

toolUseId

String toolUseId

执行工具使用标识相关操作。

Performs the tool use id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:180–187

approvalId

String approvalId

执行 approvalId 方法。

Performs the approval id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:180–187

agentTaskId

String agentTaskId

执行智能体任务标识相关操作。

Performs the agent task id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:180–187

attemptId

String attemptId

执行尝试标识相关操作。

Performs the attempt id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:180–187

dispatchGeneration

long dispatchGeneration

执行 dispatchGeneration 方法。

Performs the dispatch generation operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:180–187

turnId

String turnId

执行轮次标识相关操作。

Performs the turn id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:180–187
基于官方固定版本源码静态生成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.