类class
agentscope.eventRequireUserConfirmEvent
class RequireUserConfirmEvent(EventBase)
源码Source
agentscope/event/_event.py:442–452Require 用户确认事件,描述执行过程中的事件。位于 agentscope.event 包,继承自 EventBase。
Require user confirm event. Declared in agentscope.event. Extends EventBase.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
type | Literal[EventType.REQUIRE_USER_CONFIRM] | 类型字段。 | EventType.REQUIRE_USER_CONFIRM |
reply_id | str | 回复标识字段。 | — |
tool_calls | List[ToolCallBlock] | 工具调用字段。 | — |
属性详情Attribute Detail
type
Literal[EventType.REQUIRE_USER_CONFIRM] = EventType.REQUIRE_USER_CONFIRM类型字段。声明为 Literal[EventType.REQUIRE_USER_CONFIRM]。
The type field.
源码Source
agentscope/event/_event.py:445reply_id
str回复标识字段。声明为 str。
The reply id field.
源码Source
agentscope/event/_event.py:449tool_calls
List[ToolCallBlock]工具调用字段。声明为 List[ToolCallBlock]。
The tool calls field.
源码Source
agentscope/event/_event.py:451