类class
agentscope.eventReplyEndReason
@deprecated
class ReplyEndReason(StrEnum)
源码Source
agentscope/event/_event.py:101–108回复结束推理,在智能体、模型与前端之间传递结构化消息和事件。位于 agentscope.event 包,继承自 StrEnum。
Deprecated alias of :class:~agentscope.types.ReplyFinishedReason, kept for backward compatibility. Declared in agentscope.event. Extends StrEnum.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
COMPLETED | — | 已完成字段。 | 'completed' |
INTERRUPTED | — | INTERRUPTED字段。 | 'interrupted' |
EXCEED_MAX_ITERS | — | 超出最大迭代次数字段。 | 'exceed_max_iters' |
属性详情Attribute Detail
COMPLETED
= 'completed'已完成字段。
The COMPLETED field.
源码Source
agentscope/event/_event.py:106INTERRUPTED
= 'interrupted'INTERRUPTED字段。
The INTERRUPTED field.
源码Source
agentscope/event/_event.py:107EXCEED_MAX_ITERS
= 'exceed_max_iters'超出最大迭代次数字段。
The EXCEED MAX ITERS field.
源码Source
agentscope/event/_event.py:108