类class
agentscope.modelFinishedReason
class FinishedReason(StrEnum)
源码Source
agentscope/model/_model_response.py:21–28Finished 推理,与模型服务通信并返回生成或向量化结果。位于 agentscope.model 包,继承自 StrEnum。
The finished reason of the model response. Declared in agentscope.model. Extends StrEnum.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
INTERRUPTED | — | INTERRUPTED字段。 | 'interrupted' |
COMPLETED | — | 已完成字段。 | 'completed' |
属性详情Attribute Detail
INTERRUPTED
= 'interrupted'INTERRUPTED字段。
The INTERRUPTED field.
源码Source
agentscope/model/_model_response.py:24COMPLETED
= 'completed'已完成字段。
The COMPLETED field.
源码Source
agentscope/model/_model_response.py:27