类class
agentscope.app.storageSOPWorkspaceGrain
class SOPWorkspaceGrain(StrEnum)
源码Source
agentscope/app/storage/_model/_sop.py:14–22SOP 工作区粒度,在多次调用之间保存和恢复会话与记忆数据。位于 agentscope.app.storage 包,继承自 StrEnum。
How many workspaces a run gets. Declared in agentscope.app.storage. Extends StrEnum.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
RUN | — | 运行字段。 | 'run' |
PER_SESSION_KEY | — | 每个会话键字段。 | 'per_session_key' |
属性详情Attribute Detail
RUN
= 'run'运行字段。
The RUN field.
源码Source
agentscope/app/storage/_model/_sop.py:18PER_SESSION_KEY
= 'per_session_key'每个会话键字段。
The PER SESSION KEY field.
源码Source
agentscope/app/storage/_model/_sop.py:21