Commit Graph

1941 Commits

Author SHA1 Message Date
sd0ric4
7a0177cd06 refactor: 更新导入语句,使用 type 关键字优化类型导入 2025-03-27 15:16:09 +08:00
sd0ric4
74307f52c7 refactor: 移除多余的空行,简化 NodeDebugResponse 组件代码 2025-03-27 15:06:07 +08:00
sd0ric4
b5d892c0a7 refactor: 重构组件,移动 FormComponents 到 InteractiveComponents,简化代码结构 2025-03-27 15:01:32 +08:00
sd0ric4
7f05a2ef1e refactor: 移除多余的空行,简化 AIResponseBox 组件代码 2025-03-27 14:58:20 +08:00
sd0ric4
c61b5af826 refactor: 移除多余的空行和注释 2025-03-27 14:55:08 +08:00
sd0ric4
0675b2a11e refactor: 移除多余的空行 2025-03-27 14:49:08 +08:00
sd0ric4
787152468c refactor: 提取描述框和表单项标签组件,简化代码结构 2025-03-27 14:42:09 +08:00
sd0ric4
8fd4f2d47f refactor: 使用类型导入简化代码结构,重构 AIResponseBox 组件 2025-03-27 14:37:27 +08:00
sd0ric4
fcd87e1501 refactor: 更新类型定义,使用类型别名简化代码结构 2025-03-27 14:37:17 +08:00
sd0ric4
037ddc77f7 refactor: 将接口定义更改为类型别名,简化代码结构 2025-03-27 14:25:08 +08:00
sd0ric4
69a2f03755 refactor: 移除未使用的 ChatItemType 和 UserChatItemValueItemType 导入 2025-03-27 14:17:19 +08:00
sd0ric4
e4298c4894 refactor: 优化类型定义 2025-03-27 14:14:32 +08:00
sd0ric4
bafea1c3f2 refactor: 将 InteractiveBasicType 中的属性设为可选,简化数据结构 2025-03-27 14:03:04 +08:00
sd0ric4
70524804b1 feat: 移动调试交互组件位置 2025-03-27 13:37:14 +08:00
sd0ric4
f268e92b0d refactor: 移除不必要的入口节点检查,简化调试处理逻辑 2025-03-27 13:31:45 +08:00
sd0ric4
b796c17e11 refactor: 将 NodeDebugResponseProps 接口更改为类型定义,优化代码结构 2025-03-27 13:29:55 +08:00
sd0ric4
8246a4ac17 refactor: 将 FormItem 接口更改为类型定义,优化代码结构 2025-03-27 13:29:17 +08:00
sd0ric4
071b058da0 feat: 重构 AIResponseBox 组件,简化类型定义并优化代码结构 2025-03-27 13:27:48 +08:00
sd0ric4
5260794b98 fix: type error 2025-03-27 12:39:03 +08:00
sd0ric4
c160721cbe feat: 清理 AIResponseBox 和表单组件代码,移除冗余注释和未使用的导入 2025-03-27 12:34:20 +08:00
sd0ric4
c8a9c8157e feat: 重构 AIResponseBox 组件,简化用户交互逻辑并引入共用表单组件 2025-03-27 12:32:02 +08:00
sd0ric4
ce4c85b1c4 fix: type error 2025-03-27 12:05:10 +08:00
sd0ric4
00d8188c77 feat: 重构交互式调试逻辑,创建共用 Hook 以简化用户选择和输入处理 2025-03-27 12:01:14 +08:00
sd0ric4
8c086979da feat: Refactor NodeDebugResponse to streamline interactive handling and improve code clarity 2025-03-27 11:34:38 +08:00
sd0ric4
e5c03bacac feat: Extend UserSelectInteractive and UserInputInteractive types to inherit from InteractiveBasicType 2025-03-27 11:33:12 +08:00
sd0ric4
de1cc6b7d4 feat: Refactor NodeDebugResponse to utilize workflowInteractiveResponse for improved interactivity 2025-03-27 10:56:48 +08:00
sd0ric4
92e30e70ba feat: Added workflowInteractiveResponse field in FlowNodeItemType to enhance responsiveness 2025-03-27 10:43:07 +08:00
sd0ric4
2b2604eb75 feat: Add the workflowInteractiveResponse field in the debugging handler to enhance response capabilities 2025-03-27 10:13:46 +08:00
sd0ric4
49d744740a feat: Add optional workflowInteractiveResponse field to PostWorkflowDebugResponse type 2025-03-27 10:12:57 +08:00
sd0ric4
7495b64499 feat: Update the handler function to use default parameters to simplify the code 2025-03-26 19:19:36 +08:00
sd0ric4
604fb6f7da feat: Simplify the import statements in InteractiveComponents.tsx 2025-03-26 18:50:14 +08:00
sd0ric4
7dd8bc9fb8 feat: 添加 NodeDebugResponse 组件以增强调试功能 2025-03-26 18:47:53 +08:00
sd0ric4
fb24fddb60 feat: Merge selections and next actions to remove unused state management 2025-03-26 18:14:06 +08:00
sd0ric4
881d238760 feat: refactor onNextNodeDebug to use parameter object for better readability 2025-03-26 17:51:09 +08:00
sd0ric4
84143c595b feat: remove unused interactive prop from WholeResponseContent component 2025-03-26 17:34:58 +08:00
sd0ric4
6ddf5d0094 feat: simplify handler parameter destructuring in debug.ts 2025-03-26 17:28:30 +08:00
sd0ric4
dfc0dd5834 feat: remove realmode 2025-03-26 15:58:03 +08:00
Theresa
be1e10cb71 Merge branch 'labring:main' into local 2025-03-26 15:54:01 +08:00
sd0ric4
51fa72717e feat: add history parameter to PostWorkflowDebugProps and update related components 2025-03-26 15:53:08 +08:00
gru-agent[bot]
29a10c1389 test: Add unit test for projects/app/src/global/core/chat/utils.ts (#4328)
* Add unit tests for chat utility functions and enhance statistical data calculation in utils.ts.

* Update utils.ts

---------

Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
Co-authored-by: Archer <545436317@qq.com>
2025-03-26 13:46:21 +08:00
gru-agent[bot]
28877373ac Add unit tests for workflow utility functions in utils.test.ts (#4327)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-03-26 13:30:01 +08:00
gru-agent[bot]
4538f2a9d4 Add unit tests for authType2UsageSource function in utils.test.ts (#4326)
Co-authored-by: gru-agent[bot] <185149714+gru-agent[bot]@users.noreply.github.com>
2025-03-26 13:26:04 +08:00
LGiki
fc23db745c fixed: permission error when viewing database search node responses (#4308)
Fix issue where API-called workflows with database search nodes would show
"无权操作该数据集" when trying to view full responses in conversation logs.
2025-03-26 10:47:39 +08:00
sd0ric4
5ec7bbf3d3 feat: add optional query parameter to PostWorkflowDebugProps and remove realmode from ModuleDispatchProps 2025-03-26 00:12:28 +08:00
sd0ric4
369c4b247b feat: add realmode parameter to workflow dispatch and update interactive handling 2025-03-25 18:42:23 +08:00
sd0ric4
ccc9260ed5 feat: simplify query and histories initialization in debug API handler 2025-03-24 21:53:42 +08:00
ROKY
8a68de6471 add pdf-mineru (#4276)
* add pdf-mineru

添加了基于MinerU的PDF转Markdown接口服务,调用方式与pdf-marker一致,开箱即用。

* Rename Readme.md to README.md

* Rename pdf_parser_mineru.py to main.py
2025-03-24 17:17:08 +08:00
sd0ric4
70388f1fde feat: enhance debug API handler to support optional query and histories parameters 2025-03-24 16:55:21 +08:00
sd0ric4
21b5b8ae02 feat: enhance debug API handler with structured input forms and improved query handling 2025-03-24 16:54:49 +08:00
sd0ric4
a9f6860768 feat: refactor debug API handler to streamline workflow processing and enhance interactive chat features 2025-03-24 15:43:12 +08:00