Skip to content

uni-flow 公开 API(中文注解)


uni-flow 公开 API(中文注解) / StopReason

Type Alias: StopReason

StopReason = "stop" | "length" | "toolUse" | "error" | "cancelled"

Defined in: core/types.ts:11

Unit 执行结束原因(正常停止、长度截断、工具调用、错误、取消等)。

MIT Licensed