AS AgentScopeAPI 手册 / API Reference
类class agentscope.app.channel

ChannelConfirmationResultEvent

class ChannelConfirmationResultEvent(BaseModel)
源码Source agentscope/app/channel/_base.py:107–141

渠道确认结果事件,描述执行过程中的事件。位于 agentscope.app.channel 包。

Enters through the same gateway entry point as messages. Carries only lookup keys — the authoritative pending tool call is read from the session state, never trusted from this round-tripped payload.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
channel_idstr
渠道标识字段。
—
chat_idstr
聊天标识字段。
—
channel_user_idstr
渠道用户标识字段。
—
agent_idstr
智能体标识字段。
''
session_idstr
会话标识字段。
''
tool_call_idstr
工具调用标识字段。
—
approvedbool
`approved` 字段。
—
actorstr
`actor` 字段。
''

属性详情Attribute Detail

channel_id

str

渠道标识字段。声明为 str。

The channel id field.

源码Source agentscope/app/channel/_base.py:115

chat_id

str

聊天标识字段。声明为 str。

The chat id field.

源码Source agentscope/app/channel/_base.py:118

channel_user_id

str

渠道用户标识字段。声明为 str。

The channel user id field.

源码Source agentscope/app/channel/_base.py:121

agent_id

str = ''

智能体标识字段。声明为 str。

The agent id field.

源码Source agentscope/app/channel/_base.py:124

session_id

str = ''

会话标识字段。声明为 str。

The session id field.

源码Source agentscope/app/channel/_base.py:129

tool_call_id

str

工具调用标识字段。声明为 str。

The tool call id field.

源码Source agentscope/app/channel/_base.py:133

approved

bool

approved 字段。声明为 bool。

The approved field.

源码Source agentscope/app/channel/_base.py:137

actor

str = ''

actor 字段。声明为 str。

The actor field.

源码Source agentscope/app/channel/_base.py:140
基于官方固定版本源码静态生成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.