类class
agentscope.app.channelBindingState
class BindingState(str, Enum)
源码Source
agentscope/app/channel/_credential_binding.py:23–45绑定状态,把智能体接入外部消息渠道与企业平台。位于 agentscope.app.channel 包,继承自 str, Enum。核心成员包括 is_terminal。
Where a binding session is in its lifecycle. Declared in agentscope.app.channel. Extends str, Enum.
属性摘要Property Summary
| 属性Property | 说明Description |
|---|---|
is_terminal | 读取 `is_terminal` 属性。 Whether no further step can move this session. |
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
PENDING | — | 待处理字段。 | 'pending' |
AUTHORIZED | — | AUTHORIZED字段。 | 'authorized' |
FAILED | — | 失败字段。 | 'failed' |
CANCELLED | — | 已取消字段。 | 'cancelled' |
属性详情Attribute Detail
PENDING
= 'pending'待处理字段。
The PENDING field.
源码Source
agentscope/app/channel/_credential_binding.py:26AUTHORIZED
= 'authorized'AUTHORIZED字段。
The AUTHORIZED field.
源码Source
agentscope/app/channel/_credential_binding.py:29FAILED
= 'failed'失败字段。
The FAILED field.
源码Source
agentscope/app/channel/_credential_binding.py:32CANCELLED
= 'cancelled'已取消字段。
The CANCELLED field.
源码Source
agentscope/app/channel/_credential_binding.py:35属性详情Property Detail
is_terminal
def is_terminal() -> bool
读取 is_terminal 属性。
Whether no further step can move this session.
bool
返回布尔值,表示判断结果。Returns a boolean result.
源码Source
agentscope/app/channel/_credential_binding.py:39–45