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

FinishedReason

class FinishedReason(StrEnum)
源码Source agentscope/model/_model_response.py:21–28

Finished 推理,与模型服务通信并返回生成或向量化结果。位于 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:24

COMPLETED

 = 'completed'

已完成字段。

The COMPLETED field.

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