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

IsolationPolicy

class IsolationPolicy(StrEnum)
源码Source agentscope/app/workspace_manager/_base.py:18–25

隔离策略,承载智能体的部署、调度与服务化运行。位于 agentscope.app.workspace_manager 包,继承自 StrEnum。

Workspace isolation grain for :meth:WorkspaceManagerBase.assign_workspace_id. Declared in agentscope.app.workspace_manager. Extends StrEnum.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
PER_SESSION—
每个会话字段。
'per_session'
PER_AGENT—
每个智能体字段。
'per_agent'
PER_USER—
每个用户字段。
'per_user'

属性详情Attribute Detail

PER_SESSION

 = 'per_session'

每个会话字段。

The PER SESSION field.

源码Source agentscope/app/workspace_manager/_base.py:23

PER_AGENT

 = 'per_agent'

每个智能体字段。

The PER AGENT field.

源码Source agentscope/app/workspace_manager/_base.py:24

PER_USER

 = 'per_user'

每个用户字段。

The PER USER field.

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