AS AgentScopeAPI 手册 / API Reference

HitlTicket

record HitlTicket( String toolUseId, String sessionId, String ownerId, String approvalId, String agentTaskId, String attemptId, long dispatchGeneration, String turnId, String continuationLeaseId, String toolName, String inputJson, String resolutionStatus, long decisionVersion, Boolean resolvedAllow, String denyMessage, long createdAt, long expiresAt, Long resolvedAt, boolean continuationReady)
源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

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

HITL confirmation ticket shared across Brain replicas.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
toolUseIdString
执行工具使用标识相关操作。
Performs the tool use id operation.
sessionIdString
执行会话标识相关操作。
Performs the session id operation.
ownerIdString
执行所有者标识相关操作。
Performs the owner 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.
continuationLeaseIdString
执行 `continuationLeaseId` 方法。
Performs the continuation lease id operation.
toolNameString
执行工具名称相关操作。
Performs the tool name operation.
inputJsonString
执行输入 JSON相关操作。
Performs the input json operation.
resolutionStatusString
执行 `resolutionStatus` 方法。
Performs the resolution status operation.
decisionVersionlong
执行决策版本相关操作。
Performs the decision version operation.
resolvedAllowBoolean
执行 `resolvedAllow` 方法。
Performs the resolved allow operation.
denyMessageString
拒绝消息。
Performs the deny message operation.
createdAtlong
执行已创建 At相关操作。
Performs the created at operation.
expiresAtlong
执行过期 At相关操作。
Performs the expires at operation.
resolvedAtLong
执行已解析 At相关操作。
Performs the resolved at operation.
continuationReadyboolean
执行 `continuationReady` 方法。
Performs the continuation ready operation.

方法摘要Method Summary

方法Method说明Description
public boolean managedTask()
返回托管任务。
Returns the managed task.

记录组件详情Record Component Detail

toolUseId

String toolUseId

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

Performs the tool use id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

sessionId

String sessionId

执行会话标识相关操作。

Performs the session id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

ownerId

String ownerId

执行所有者标识相关操作。

Performs the owner id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

approvalId

String approvalId

执行 approvalId 方法。

Performs the approval id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

agentTaskId

String agentTaskId

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

Performs the agent task id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

attemptId

String attemptId

执行尝试标识相关操作。

Performs the attempt id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

dispatchGeneration

long dispatchGeneration

执行 dispatchGeneration 方法。

Performs the dispatch generation operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

turnId

String turnId

执行轮次标识相关操作。

Performs the turn id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

continuationLeaseId

String continuationLeaseId

执行 continuationLeaseId 方法。

Performs the continuation lease id operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

toolName

String toolName

执行工具名称相关操作。

Performs the tool name operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

inputJson

String inputJson

执行输入 JSON相关操作。

Performs the input json operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

resolutionStatus

String resolutionStatus

执行 resolutionStatus 方法。

Performs the resolution status operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

decisionVersion

long decisionVersion

执行决策版本相关操作。

Performs the decision version operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

resolvedAllow

Boolean resolvedAllow

执行 resolvedAllow 方法。

Performs the resolved allow operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

denyMessage

String denyMessage

拒绝消息。

Performs the deny message operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

createdAt

long createdAt

执行已创建 At相关操作。

Performs the created at operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

expiresAt

long expiresAt

执行过期 At相关操作。

Performs the expires at operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

resolvedAt

Long resolvedAt

执行已解析 At相关操作。

Performs the resolved at operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

continuationReady

boolean continuationReady

执行 continuationReady 方法。

Performs the continuation ready operation.

源码Source io/agentscope/builder/web/coord/CoordinationStore.java:153–177

方法详情Method Detail

managedTask

public boolean managedTask()

返回托管任务。

Returns the managed task.

返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/builder/web/coord/CoordinationStore.java:174–176
基于官方固定版本源码静态生成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.