@mxmweb/rtext 1.7.2 → 1.7.3
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.
- package/adopters/RetriveChatMessage.d.ts +6 -0
- package/index.js +4365 -4364
- package/package.json +1 -1
- package/stats.html +1 -1
|
@@ -28,6 +28,12 @@ export interface RetriveChatMessageAdapterProps extends AdapterProps {
|
|
|
28
28
|
retrieveConfig?: any;
|
|
29
29
|
/** 召回/LLM 是否处于加载中(例如后端仍在流式返回数据时),用于在 UI 中展示 loading 状态 */
|
|
30
30
|
retrieveLoading?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* 整体 loading 状态(推荐使用):
|
|
33
|
+
* - true 时,语义回答/召回等区域会自动展示统一的 loading 文案
|
|
34
|
+
* - 兼容老用法:未传 loading 时,仍可使用 retrieveLoading + contentType/displayStatus 控制
|
|
35
|
+
*/
|
|
36
|
+
loading?: boolean;
|
|
31
37
|
feedbackResult: null | number;
|
|
32
38
|
queryId: string;
|
|
33
39
|
eventsEmit?: (eventName: string, payload?: any) => void;
|