Commit Graph

54 Commits

Author SHA1 Message Date
liqiang-fit2cloud f8ada9a110 refactor: remove init parameter from class ToolExecutor. 2025-12-04 15:40:50 +08:00
shaohuzhang1 bfae088df6
feat: knowledge workflow (#4399)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
* feat: init knowledge workflow

* feat: add knowledge workflow and version models, serializers, and API views

* feat: knowledge workflow

* feat: knowledge workflow

* feat: add KnowledgeWorkflowModelSerializer and Operate class for workflow management

* fix: route

* feat: knowledge workflow

* feat: Knowledge workflow permission

* feat: knowledge workflow

* feat: knowledge workflow

* feat: knowledge workflow

* feat: knowledge workflow

* feat: Data source web node

* fix: Back route

* feat: knowledge workflow

* feat: knowledge workflow

* feat: Knowledge write node

* feat: add Data Source tool functionality and localization

* feat: add Data Source tool functionality and localization

* feat: knowledge workflow

* feat: knowledge workflow

* fix: simplify export tool permission check in ToolListContainer.vue

* fix: simplify export condition in ToolResourceIndex.vue

* fix: simplify condition for copying tool in ToolListContainer

* feat: knowledge workflow

* fix: Upload local files and add output fields

* feat: Knowledge write

* feat: add Document Split Node functionality and localization

* feat: add Document Split Node functionality and localization

* feat: Knowledge write

* feat: enhance Document Split Node with result processing and problem list generation

* fix: Allow problem be blank

* feat: enhance Document Split Node with result processing and problem list generation

* feat: tool datasource

* fix: Optimization of knowledge base workflow execution logic

* refactor: streamline image handling by updating application and knowledge ID management

* refactor: streamline image handling by updating application and knowledge ID management

* feat: extend support modes in variable aggregation node to include knowledge workflows

* feat: Chunks stored

* refactor: simplify file handling in document extraction by removing unnecessary byte conversion and enhancing file saving logic

* refactor: update file ID assignment in document extraction to use provided metadata

* feat: Workflow menu that distinguishes between applications and knowledge bases

* refactor: update file ID assignment in document extraction to use provided metadata

* fix: Add workspace ID as workflow execution parameter

* feat: add code template for Data Source tool form functionality

* refactor: remove unused sys import and improve module handling

* feat: Execution details support loading status

* refactor: update tool type handling and improve category merging logic

* feat: Alter fork depth

* fix: ensure filterList is properly initialized and updated in getList function

* refactor: simplify ToolStoreDialog by removing unused toolType logic

* perf: Optimize the style

* style: adjust div width for improved layout in Tree component

* refactor: improve polling mechanism for knowledge workflow action

* fix: Get workspace_id from workflow params

* fix: filter out 'file_bytes' from result in get_details method

* feat: add recursive filtering for file_bytes in context data

* fix: append results to paragraph_list instead of replacing it

* perf: Optimize translation files

* fix: include document name in bytes_to_uploaded_file call for better file handling

* refactor: optimize buffer retrieval in document processing

* refactor: remove redundant parameter from bytes_to_uploaded_file call

* fix: Page style optimization

* feat: add slider for setting limit in document rules form

* feat: add workflow knowledge management endpoints and related functionality

* fix: swap file size and file count limits in form inputs

* refactor: update tool_config args to use list format for improved readability

* feat: Node supports knowledge base workflow

* feat: Node supports knowledge base workflow

* fix: Basic node data cannot be obtained in the workflow

* style: Knowledge base workflow debugging page style adjustment

* fix: Loop nodes cannot be used in the knowledge base workflow

* fix: Knowledge base workflow variable assignment node

* feat: add chunk size slider to form for custom split strategy

* fix: Workflow style optimization

---------

Co-authored-by: CaptainB <bin@fit2cloud.com>
Co-authored-by: zhangzhanwei <zhanwei.zhang@fit2cloud.com>
Co-authored-by: wangdan-fit2cloud <dan.wang@fit2cloud.com>
2025-11-28 15:38:20 +08:00
zhangzhanwei e939c6e85a fix: Reason content 2025-11-18 15:29:46 +08:00
liqiang-fit2cloud 8bfce62ad8 refactor: avoid using temp files in sandbox. 2025-11-18 14:27:48 +08:00
shaohuzhang1 586c3536ca
feat: AI dialogue nodes support historical chat history parameters (#4245) 2025-10-24 11:35:27 +08:00
CaptainB c1a214b08f feat: add variable handling for tool parameters in base_chat_node and base_mcp_node
--story=1019430 --user=刘瑞斌 GitHub#3113 【MCP调用】MCP配置支持传入变量 https://www.tapd.cn/62980211/s/1775665
2025-09-18 11:17:04 +08:00
CaptainB ec5c076557 chore: add mcp_output_enable field to application and applicationversion models 2025-09-08 15:43:51 +08:00
CaptainB 4a8cd95119 feat: add MCP and tool configuration options in application settings 2025-09-08 14:54:35 +08:00
CaptainB 59164d86dd chore: add mcp_tool_id parameter to i_chat_node.py 2025-09-05 10:39:05 +08:00
CaptainB 9a4f1eda99 chore: add mcp_tool_ids parameter to support multiple MCP Tool IDs 2025-09-05 10:37:57 +08:00
CaptainB 0b6b45928d fix: ensure only active tools are processed in base_chat_node.py
--bug=1061252 --user=刘瑞斌 【工具】MCP被禁用后,依然可以在应用中调用 https://www.tapd.cn/62980211/s/1765960
2025-09-02 15:52:04 +08:00
CaptainB b1dcdcbf97 chore: set default mcp_source to 'custom' if None
--bug=1061187 --user=刘瑞斌 【迁移】应用AI对话节点使用了MCP,迁移后对话时,不会调用MCP工具 https://www.tapd.cn/62980211/s/1765228
2025-09-01 15:54:41 +08:00
CaptainB 5e99770999 feat: enhance MCP tool execution with unique ID generation and improved file handling 2025-08-13 12:30:30 +08:00
CaptainB bb665b5196 feat: enhance MCP tool execution with unique ID generation and improved file handling 2025-08-13 11:49:37 +08:00
CaptainB f0a3391897 refactor: simplify error handling in MCP server code execution 2025-08-13 11:49:37 +08:00
CaptainB 0fe432eefd fix: enable tool code file cleanup by removing commented-out code 2025-08-12 17:25:17 +08:00
CaptainB 541f1f26c8 feat: refactor MCP code generation and update cleanup logic 2025-08-12 17:23:22 +08:00
CaptainB 1d7a5af626 feat: refactor MCP server code generation and add execution method 2025-08-12 17:13:30 +08:00
CaptainB e9c8c9581f feat: add MCP tool ID and source fields to chat node for enhanced configuration 2025-08-12 15:22:42 +08:00
shaohuzhang1 ec12ad0c2e
fix: MCP node display nesting issue (#3822)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-08-05 19:23:48 +08:00
CaptainB e7f61994ec feat: add validation to prevent usage of 'stdio' in MCP servers 2025-07-16 16:51:30 +08:00
shaohuzhang1 34842e4ae4
feat: application chat api (#3574) 2025-07-12 17:54:37 +08:00
shaohuzhang1 c4293c34d1
fix: ai chat node mcp (#3531) 2025-07-09 16:14:44 +08:00
CaptainB fe8f87834d refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 16:46:50 +08:00
CaptainB 3aa0847506 refactor: replace print statements with logging for improved error tracking 2025-06-25 16:18:19 +08:00
shaohuzhang1 598b72fd12
fix: chat bugs (#3308) 2025-06-19 14:53:24 +08:00
shaohuzhang1 bc03deabfc
feat: Resources authorization (#3183) 2025-06-04 13:05:39 +08:00
shaohuzhang1 43654bddaf
feat: application operate api (#3176)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-30 20:02:39 +08:00
shaohuzhang1 896fb5fa52
feat: application flow (#3152) 2025-05-27 18:24:28 +08:00
CaptainB c78a6babb6 ci: v2 2025-04-11 15:47:59 +08:00
CaptainB 97fb4a5cea fix: format MCP tool messages with detailed JSON representation
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-03-27 16:51:56 +08:00
CaptainB 0e29ce28cf chore: remove unused MCP response function from base_chat_node.py 2025-03-27 10:05:37 +08:00
CaptainB 563516f835 feat: AI chat node mcp server config 2025-03-24 18:38:54 +08:00
shaohuzhang1 4874c0e4b0
fix: AI dialogue context removes form data (#2257) 2025-02-12 16:07:44 +08:00
shaohuzhang1 6a5ec866c0
fix: Lost content during the answering process (#2256) 2025-02-12 15:33:24 +08:00
刘瑞斌 061a41c4a1
feat: Support reasoning content #2135 (#2158) 2025-02-08 20:26:53 +08:00
shaohuzhang1 bedbeac9f7
feat: application i18n (#2020)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-01-13 19:05:08 +08:00
shaohuzhang1 5faa28ec4a
fix: Error in obtaining variables for character settings (#1948) 2024-12-30 15:26:43 +08:00
shaohuzhang1 e379b8c7e1
fix: Dialogue node context type is not required (#1926) 2024-12-27 10:52:05 +08:00
shaohuzhang1 5299f1262f
feat: AI dialogue roles support obtaining data from other nodes (#1925) 2024-12-27 10:46:07 +08:00
shaohuzhang1 f65546a619
feat: 支持工作流ai对话节点添加节点上下文 (#1791)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-12-09 11:17:58 +08:00
shaohuzhang1 1a1e93296e feat: 工作流表单节点 2024-11-13 10:39:05 +08:00
shaohuzhang1 2e331dcf56
feat: 工作流编排支持并行 #1154 (#1362)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-10-13 12:00:13 +08:00
shaohuzhang1 644bb61c4e fix: 修改工作流中模型参数为非必填参数 2024-08-29 15:21:04 +08:00
shaohuzhang1 b627b6638c fix: 修复工作流编排历史数据模型参数必填 2024-08-29 14:08:07 +08:00
shaohuzhang1 b19ed0d8db fix: 修复ai对话节点输出内容回添加回车 2024-08-27 11:33:25 +08:00
shaohuzhang1 9e0ac81f1d refactor: 重构模型参数代码 2024-08-23 17:47:23 +08:00
wxg0103 35f3ff779b refactor: update model params 2024-08-19 10:38:55 +08:00
shaohuzhang1 8453ea2b4b
fix: 修复节点直接回答,不同节点响应用回车隔开 (#935)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-08-06 16:56:05 +08:00
shaohuzhang1 db167dd8b4
fix: 修复节点输出,输出结果重复 (#928) 2024-08-06 09:51:16 +08:00