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

BindingState

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:26

AUTHORIZED

 = 'authorized'

AUTHORIZED字段。

The AUTHORIZED field.

源码Source agentscope/app/channel/_credential_binding.py:29

FAILED

 = 'failed'

失败字段。

The FAILED field.

源码Source agentscope/app/channel/_credential_binding.py:32

CANCELLED

 = '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.

返回Returns bool
返回布尔值,表示判断结果。Returns a boolean result.
源码Source agentscope/app/channel/_credential_binding.py:39–45
基于官方固定版本源码静态生成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.