@mxmweb/rtext 1.5.3 → 1.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,11 +131,6 @@ export interface ChatMessageAdapterProps extends AdapterProps {
131
131
  * 已映射好的思维链节点(实时 SSE 场景可直接传入)
132
132
  */
133
133
  thoughtChainNodes?: ThoughtNode[];
134
- /**
135
- * 思维链状态(数字类型)
136
- * 4 表示思维链正在进行中,其他值表示思维链已经完成输出
137
- */
138
- thoughtChainStatus?: number;
139
134
  /**
140
135
  * 是否开启思维链(后端字段 enableCot)
141
136
  * 2026-01-06 新增:当 enableCot = 0 时,仍然展示「思考完成」下拉框,但只展示 businessType === "think" 的内容,
@@ -144,9 +139,14 @@ export interface ChatMessageAdapterProps extends AdapterProps {
144
139
  enableCot?: number;
145
140
  /**
146
141
  * 思维链总耗时(毫秒),从后端 SSE 流中的 chainRespTime 字段获取
147
- * 2026-01-06 新增:优先使用此值计算思维链用时,如果没有则回退到累加各节点的 respTime
142
+ * 2026-01-08 新增:用于在头部显示总用时,优先使用此字段。
148
143
  */
149
144
  chainRespTime?: number;
145
+ /**
146
+ * 思维链状态(用于流式模式)
147
+ * 2026-01-08 新增:status=4 时显示"思考中",其他状态显示"思考完成"
148
+ */
149
+ thoughtChainStatus?: number;
150
150
  }
151
151
  /**
152
152
  * 聊天消息适配器