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

AgentChatConfig

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_configContextConfig
上下文配置用于智能体。
Field(default_factory=ContextConfig, description='The context config for the agent.', title='Context Config')
react_configReActConfig
ReAct 配置用于智能体。
Field(default_factory=ReActConfig, description='The react config for the agent.', title='React Config')
invite_configInviteConfig
邀请配置用于智能体。
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:75

react_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:81

invite_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
基于官方固定版本源码静态生成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.