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

UserOrigin

class UserOrigin(BaseModel)
源码Source agentscope/app/storage/_model/_session.py:29–32

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

A session a person opened themselves. Declared in agentscope.app.storage.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
typeLiteral['user']
类型字段。
'user'

属性详情Attribute Detail

type

Literal['user'] = 'user'

类型字段。声明为 Literal['user']。

The type field.

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