类class
agentscope.app.channelConfig
class Config(BaseModel)
源码Source
agentscope/app/channel/_feishu/_channel.py:111–129配置,保存相关配置项。位于 agentscope.app.channel 包。
Feishu platform options. Declared in agentscope.app.channel.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
only_at_reply | bool | `only_at_reply` 字段。 | Field(default=True, title='Reply only when mentioned', description='In group chats, reply only when the bot is @mentioned') |
show_tool_process | bool | `show_tool_process` 字段。 | Field(default=False, title='Show tool process', description='Show tool calls and results inline in the reply') |
show_thinking | bool | `show_thinking` 字段。 | Field(default=False, title='Show thinking', description="Show the model's reasoning inline in the reply") |
属性详情Attribute Detail
only_at_reply
bool = Field(default=True, title='Reply only when mentioned', description='In group chats, reply only when the bot is @mentioned')only_at_reply 字段。声明为 bool。
In group chats, reply only when the bot is @mentioned
源码Source
agentscope/app/channel/_feishu/_channel.py:114show_tool_process
bool = Field(default=False, title='Show tool process', description='Show tool calls and results inline in the reply')show_tool_process 字段。声明为 bool。
Show tool calls and results inline in the reply
源码Source
agentscope/app/channel/_feishu/_channel.py:120show_thinking
bool = Field(default=False, title='Show thinking', description="Show the model's reasoning inline in the reply")show_thinking 字段。声明为 bool。
Show the model's reasoning inline in the reply
源码Source
agentscope/app/channel/_feishu/_channel.py:125