AS AgentScopeAPI 手册 / API Reference
类class agentscope.sop

SOPPhase

class SOPPhase(StrEnum)
源码Source agentscope/sop/_state.py:23–43

SOP 阶段,把复杂任务拆分为可执行步骤并驱动流程。位于 agentscope.sop 包,继承自 StrEnum。

One enum for both: a run is only ever as far along as its steps let it be.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
PENDING—
待处理字段。
'pending'
RUNNING—
运行中字段。
'running'
AWAITING—
等待中的字段。
'awaiting'
COMPLETED—
已完成字段。
'completed'
FAILED—
失败字段。
'failed'

属性详情Attribute Detail

PENDING

 = 'pending'

待处理字段。

The PENDING field.

源码Source agentscope/sop/_state.py:30

RUNNING

 = 'running'

运行中字段。

The RUNNING field.

源码Source agentscope/sop/_state.py:33

AWAITING

 = 'awaiting'

等待中的字段。

The AWAITING field.

源码Source agentscope/sop/_state.py:36

COMPLETED

 = 'completed'

已完成字段。

The COMPLETED field.

源码Source agentscope/sop/_state.py:39

FAILED

 = 'failed'

失败字段。

The FAILED field.

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