类class
agentscope.sopSOPPhase
class SOPPhase(StrEnum)
源码Source
agentscope/sop/_state.py:23–43SOP 阶段,把复杂任务拆分为可执行步骤并驱动流程。位于 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:30RUNNING
= 'running'运行中字段。
The RUNNING field.
源码Source
agentscope/sop/_state.py:33AWAITING
= 'awaiting'等待中的字段。
The AWAITING field.
源码Source
agentscope/sop/_state.py:36COMPLETED
= 'completed'已完成字段。
The COMPLETED field.
源码Source
agentscope/sop/_state.py:39FAILED
= 'failed'失败字段。
The FAILED field.
源码Source
agentscope/sop/_state.py:42