类class
agentscope.eventReplyFinishedReason
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:13INTERRUPTED
= 'interrupted'INTERRUPTED字段。
The INTERRUPTED field.
源码Source
agentscope/types/_reply.py:14EXCEED_MAX_ITERS
= 'exceed_max_iters'超出最大迭代次数字段。
The EXCEED MAX ITERS field.
源码Source
agentscope/types/_reply.py:15ERROR
= 'error'错误字段。
The ERROR field.
源码Source
agentscope/types/_reply.py:16