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

SessionSource

class SessionSource(str, Enum)
源码Source agentscope/app/storage/_model/_session.py:15–26

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

Superseded by :data:SessionOrigin, whose tag carries the same values. Kept importable, and comparable to :attr:SessionRecord.source, so integrations pinned to the old name keep working while they move.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
USER—
用户字段。
'user'
SCHEDULE—
调度字段。
'schedule'
CHANNEL—
渠道字段。
'channel'

属性详情Attribute Detail

USER

 = 'user'

用户字段。

The USER field.

源码Source agentscope/app/storage/_model/_session.py:24

SCHEDULE

 = 'schedule'

调度字段。

The SCHEDULE field.

源码Source agentscope/app/storage/_model/_session.py:25

CHANNEL

 = 'channel'

渠道字段。

The CHANNEL field.

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