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

Credentials

class Credentials(BaseModel)
源码Source agentscope/app/channel/_dingtalk/_channel.py:92–103

凭证,把智能体接入外部消息渠道与企业平台。位于 agentscope.app.channel 包。

DingTalk application credentials. Declared in agentscope.app.channel.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
client_idstr
客户端标识字段。
Field(title='Client ID', description='DingTalk application Client ID (AppKey)')
client_secretstr
客户端密钥字段。
Field(title='Client Secret', description='DingTalk application Client Secret (AppSecret)', json_schema_extra={'format': 'password'})

属性详情Attribute Detail

client_id

str = Field(title='Client ID', description='DingTalk application Client ID (AppKey)')

客户端标识字段。声明为 str。

DingTalk application Client ID (AppKey)

源码Source agentscope/app/channel/_dingtalk/_channel.py:95

client_secret

str = Field(title='Client Secret', description='DingTalk application Client Secret (AppSecret)', json_schema_extra={'format': 'password'})

客户端密钥字段。声明为 str。

DingTalk application Client Secret (AppSecret)

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