类class
agentscope.app.storageAgentChatConfig
class AgentChatConfig(BaseModel)
源码Source
agentscope/app/storage/_model/_agent.py:66–91智能体聊天配置,保存相关配置项。位于 agentscope.app.storage 包。
Grouped in their own sub-model so a second interaction mode — a
realtime voice one, whose context management and parameters differ
from the text loop's — adds a block beside this one instead of
widening :class:AgentData with fields that only apply to one mode.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
context_config | ContextConfig | 上下文配置用于智能体。 | Field(default_factory=ContextConfig, description='The context config for the agent.', title='Context Config') |
react_config | ReActConfig | ReAct 配置用于智能体。 | Field(default_factory=ReActConfig, description='The react config for the agent.', title='React Config') |
invite_config | InviteConfig | 邀请配置用于智能体。 | Field(default_factory=InviteConfig, description='The invite config for the agent.', title='Invite Config') |
属性详情Attribute Detail
context_config
ContextConfig = Field(default_factory=ContextConfig, description='The context config for the agent.', title='Context Config')上下文配置用于智能体。
The context config for the agent.
源码Source
agentscope/app/storage/_model/_agent.py:75react_config
ReActConfig = Field(default_factory=ReActConfig, description='The react config for the agent.', title='React Config')ReAct 配置用于智能体。
The react config for the agent.
源码Source
agentscope/app/storage/_model/_agent.py:81invite_config
InviteConfig = Field(default_factory=InviteConfig, description='The invite config for the agent.', title='Invite Config')邀请配置用于智能体。
The invite config for the agent.
源码Source
agentscope/app/storage/_model/_agent.py:87