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

SessionNaming

class SessionNaming(BaseModel)
源码Source agentscope/app/storage/_model/_session.py:225–245

会话命名,在多次调用之间保存和恢复会话与记忆数据。位于 agentscope.app.storage 包。

How :attr:SessionConfig.name is maintained. Declared in agentscope.app.storage.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
autobool
`auto` 字段。
Field(default=False, description='Whether the server may still replace the session name with a title derived from the conversation.')

属性详情Attribute Detail

auto

bool = Field(default=False, description='Whether the server may still replace the session name with a title derived from the conversation.')

auto 字段。声明为 bool。

Whether the server may still replace the session name with a title derived from the conversation.

源码Source agentscope/app/storage/_model/_session.py:228
基于官方固定版本源码静态生成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.