[Feature] Want to add component node loading status controller
MaxKB Version
v2.0.0
Please describe your needs or suggestions for improvements
为高级编排模式中的每个组件、工具或应用节点,提供可配置的节点加载状态控制器功能。该功能允许在执行耗时较长节点时在用户对话界面的提示信息。
Please describe the solution you suggest
在典型处理链路(如:大模型理解用户意图 -> 匹配知识库信息 -> 调用工具/MCP接口查询数据 -> 信息归纳与结果生成)中:
- 位于链条前端的 大模型理解用户意图 节点及涉及外部资源调用的 工具/MCP查询 节点,可能因处理逻辑复杂、网络延迟等原因导致执行时间显著延长。
- 在等待上述节点完成期间,若用户对话界面长时间无状态更新,体验不佳。
功能要求:
- 节点级启用: 支持按需为单个或特定节点激活加载状态控制器。
- 自定义提示文案: 当控制器激活且节点处于加载状态时: 允许开发者配置展示在用户对话界面的 自定义加载提示信息 (如:“正在分析您的问题…”,“正在查询数据,请稍候…”)。 提示信息应清晰指明当前执行的节点任务。
- 状态可见性: 确保提示信息在节点完成加载后及时消失,不影响正常输出显示。
预期效果:
- 在 大模型理解用户意图 节点执行时,用户界面显示:“正在理解您的问题…”
- 在 工具/MCP查询 节点执行时,用户界面显示:“正在查询相关数据…”
- 用户能直观感知系统当前的工作环节,减少等待过程中的不确定性。
Additional Information
No response
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
MaxKB Version
v2.0.0
Please describe your needs or suggestions for improvements
Provides configurable node loading status controller functionality for each component, tool, or application node in advanced orchestration mode. This function allows prompt information in the user conversation interface when executing a long time node.
Please describe the solution you suggest
In typical processing links (such as: big model understanding user intentions -> matching knowledge base information -> calling tool/MCP interface query data -> information summary and result generation):
- The big model located at the front of the chain understands user intention nodes and tool/MCP query nodes involving external resource calls may significantly extend the execution time due to complex processing logic and network delays.
- During the waiting period for the above node to complete, if the user dialogue interface is updated statelessly for a long time, the experience will be poor.
Functional requirements:
- Node-level enable: Supports activation of load status controllers for individual or specific nodes on demand.
- Custom Prompt Copy: When the controller is activated and the node is in the load state: Allow developers to configure custom loading prompts displayed in the user conversation interface (such as: "Analyzing your problem...", "Querying data, please wait..."). The prompt information should clearly indicate the currently performed node task.
- Status visibility: Make sure that the prompt information disappears in time after the node has completed loading, and does not affect the normal output display.
Expected results:
- When the big model understands user intent node execution, the user interface shows: "Understanding your question..."
- When the Tools/MCP query node is executed, the user interface shows: "Querying related data..."
- Users can intuitively perceive the current working links of the system and reduce uncertainty during the waiting process.
Additional Information
No response
感谢反馈,理解您的需求,后续版本我们考虑一下。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Thanks for the feedback, understand your needs, and we will consider it in the subsequent version.