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

ReplyFinishedReason

class ReplyFinishedReason(StrEnum)
源码Source agentscope/types/_reply.py:10–16

回复 Finished 推理,在智能体、模型与前端之间传递结构化消息和事件。位于 agentscope.event 包,继承自 StrEnum。

The reason a reply finished. Declared in agentscope.event. Extends StrEnum.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
COMPLETED—
已完成字段。
'completed'
INTERRUPTED—
INTERRUPTED字段。
'interrupted'
EXCEED_MAX_ITERS—
超出最大迭代次数字段。
'exceed_max_iters'
ERROR—
错误字段。
'error'

属性详情Attribute Detail

COMPLETED

 = 'completed'

已完成字段。

The COMPLETED field.

源码Source agentscope/types/_reply.py:13

INTERRUPTED

 = 'interrupted'

INTERRUPTED字段。

The INTERRUPTED field.

源码Source agentscope/types/_reply.py:14

EXCEED_MAX_ITERS

 = 'exceed_max_iters'

超出最大迭代次数字段。

The EXCEED MAX ITERS field.

源码Source agentscope/types/_reply.py:15

ERROR

 = 'error'

错误字段。

The ERROR field.

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