AguiInterruptConstants
public final class AguiInterruptConstants
io/agentscope/core/agui/AguiInterruptConstants.java:19–46AGUI 中断 Constants,在智能体、模型与前端之间传递结构化消息和事件。位于 io.agentscope.core.agui 包。核心成员包括 TOOL_CALL_INTERRUPT_REASON、INPUT_REQUIRED_INTERRUPT_REASON、METADATA_AGENTSCOPE_INTERRUPT_KIND、INTERRUPT_KIND_PERMISSION_CONFIRM、METADATA_TOOL_NAME、METADATA_TOOL_INPUT。
Constants for AG-UI interrupt reasons and AgentScope interrupt metadata.
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
TOOL_CALL_INTERRUPT_REASONstaticfinal | String | 工具调用中断推理字段。 AG-UI interrupt reason for tool-bound decisions. |
INPUT_REQUIRED_INTERRUPT_REASONstaticfinal | String | 输入必填中断推理字段。 AG-UI interrupt reason for structured input requests. |
METADATA_AGENTSCOPE_INTERRUPT_KINDstaticfinal | String | 元数据 AGENTSCOPE 中断种类字段。 Interrupt metadata key: AgentScope-specific interrupt kind. |
INTERRUPT_KIND_PERMISSION_CONFIRMstaticfinal | String | 中断种类权限确认字段。 Interrupt metadata value for permission-mode tool confirmations. |
METADATA_TOOL_NAMEstaticfinal | String | 元数据工具名称字段。 Interrupt metadata key: the tool name. |
METADATA_TOOL_INPUTstaticfinal | String | 元数据工具输入字段。 Interrupt metadata key: the parsed tool arguments. |
METADATA_TOOL_CONTENTstaticfinal | String | 元数据工具内容字段。 Interrupt metadata key: the tool arguments serialized as a JSON-object string. |
METADATA_REPLY_IDstaticfinal | String | 元数据回复标识字段。 Interrupt metadata key: the originating reply id. |
字段详情Field Detail
TOOL_CALL_INTERRUPT_REASON
public static final String TOOL_CALL_INTERRUPT_REASON
工具调用中断推理字段。声明为 public static final String TOOL_CALL_INTERRUPT_REASON。
AG-UI interrupt reason for tool-bound decisions.
io/agentscope/core/agui/AguiInterruptConstants.java:24INPUT_REQUIRED_INTERRUPT_REASON
public static final String INPUT_REQUIRED_INTERRUPT_REASON
输入必填中断推理字段。声明为 public static final String INPUT_REQUIRED_INTERRUPT_REASON。
AG-UI interrupt reason for structured input requests.
io/agentscope/core/agui/AguiInterruptConstants.java:27METADATA_AGENTSCOPE_INTERRUPT_KIND
public static final String METADATA_AGENTSCOPE_INTERRUPT_KIND
元数据 AGENTSCOPE 中断种类字段。声明为 public static final String METADATA_AGENTSCOPE_INTERRUPT_KIND。
Interrupt metadata key: AgentScope-specific interrupt kind.
io/agentscope/core/agui/AguiInterruptConstants.java:30INTERRUPT_KIND_PERMISSION_CONFIRM
public static final String INTERRUPT_KIND_PERMISSION_CONFIRM
中断种类权限确认字段。声明为 public static final String INTERRUPT_KIND_PERMISSION_CONFIRM。
Interrupt metadata value for permission-mode tool confirmations.
io/agentscope/core/agui/AguiInterruptConstants.java:33METADATA_TOOL_NAME
public static final String METADATA_TOOL_NAME
元数据工具名称字段。声明为 public static final String METADATA_TOOL_NAME。
Interrupt metadata key: the tool name.
io/agentscope/core/agui/AguiInterruptConstants.java:36METADATA_TOOL_INPUT
public static final String METADATA_TOOL_INPUT
元数据工具输入字段。声明为 public static final String METADATA_TOOL_INPUT。
Interrupt metadata key: the parsed tool arguments.
io/agentscope/core/agui/AguiInterruptConstants.java:39METADATA_TOOL_CONTENT
public static final String METADATA_TOOL_CONTENT
元数据工具内容字段。声明为 public static final String METADATA_TOOL_CONTENT。
Interrupt metadata key: the tool arguments serialized as a JSON-object string.
io/agentscope/core/agui/AguiInterruptConstants.java:42METADATA_REPLY_ID
public static final String METADATA_REPLY_ID
元数据回复标识字段。声明为 public static final String METADATA_REPLY_ID。
Interrupt metadata key: the originating reply id.
io/agentscope/core/agui/AguiInterruptConstants.java:45