Commit Graph

254 Commits

Author SHA1 Message Date
wxg0103 7dc132e35c feat: implement text-to-video and image-to-video generation nodes with serializers and workflow integration 2025-09-12 14:27:48 +08:00
zhangzhanwei ce6f801a35 feat: Intent classify
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-09-12 11:54:53 +08:00
shaohuzhang1 4cb39127be
fix: Workflow start time and time zone error (#4011) 2025-09-09 13:52:13 +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 fcd6b53bfc chore: add check for inactive tools in base_mcp_node.py 2025-09-03 14:35:40 +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
shaohuzhang1 67bb0a0abd
feat: Support single line multi select cards (#3976) 2025-09-01 16:56:32 +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 82701e7513 fix: include default values in parameter initialization
--bug=1060961 --user=刘瑞斌 【工具优化】在“启动参数”设置中保存默认值后,应用内调用时可直接使用预设的默认参数,无需在工具中每次单独设置,简化操作流程。 https://www.tapd.cn/62980211/s/1764217
2025-08-29 14:51:36 +08:00
CaptainB 75c461f385 chore: replace datetime.now() with timezone.now() for consistent time handling 2025-08-29 10:16:53 +08:00
shaohuzhang1 d53b4dcd00
fix: Return the link to the connection pool after the node execution is completed (#3957) 2025-08-28 16:08:05 +08:00
shaohuzhang1 269c12b737
fix: Default value for form node reference parameter checkbox (#3953) 2025-08-28 11:22:56 +08:00
shaohuzhang1 d0266de89f
fix: PDF export cross-domain (#3945) 2025-08-27 14:23:58 +08:00
shaohuzhang1 a05573bcdc
feat: Form collection single line tab supports variables (#3942)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-08-26 20:01:39 +08:00
shaohuzhang1 5dafe6f7fe
fix: Unable to retrieve session variables after form collection node (#3926) 2025-08-25 14:58:25 +08:00
shaohuzhang1 679453372e
feat: Whether the document support settings of the General Knowledge Base and Feishu Knowledge Base allow downloading (#3924) 2025-08-25 14:50:33 +08:00
CaptainB c8e8afa8b9 feat: enhance execute method to support mcp_tool_id and mcp_source parameters
--bug=1060726 --user=刘瑞斌 【工具】应用中引用的MCP没删除后,在应用对话界面依然可以调用MCP的工具 https://www.tapd.cn/62980211/s/1759963
2025-08-22 14:32:59 +08:00
shaohuzhang1 d26883581c
feat: Form nodes support file upload and multi-line text (#3879)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-18 19:08:00 +08:00
shaohuzhang1 a85c36f289
feat: Workflow form nodes support reference assignment (#3866) #2439
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-08-15 18:08:18 +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
shaohuzhang1 9a626efe35
fix: When the reference variable in the workflow is empty, take the value of None (#3814) 2025-08-05 15:07:09 +08:00
shaohuzhang1 83a1ffb891
feat: Support session variables (#3792)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-08-01 17:11:36 +08:00
shaohuzhang1 525af67387
fix: Some nodes cannot obtain data after form collection (#3786) 2025-07-31 14:21:38 +08:00
shaohuzhang1 d33ae01d5a
fix: MCP calling node error #3752 (#3762) 2025-07-29 10:48:30 +08:00
shaohuzhang1 7e78b7fa81
fix: Multiple recall error when the previous node has no data (#3665) 2025-07-18 11:34:20 +08:00
wxg0103 8d28ac27d2 refactor: improve default global variable retrieval logic for better clarity 2025-07-16 17:16:53 +08:00
CaptainB e7f61994ec feat: add validation to prevent usage of 'stdio' in MCP servers 2025-07-16 16:51:30 +08:00
shaohuzhang1 43c7d1c3c4
fix: User input parameters do not take effect (#3620)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-15 21:50:00 +08:00
shaohuzhang1 34842e4ae4
feat: application chat api (#3574) 2025-07-12 17:54:37 +08:00
CaptainB bf1062ff04 fix: improve error handling in valid_reference_value function 2025-07-11 18:00:47 +08:00
CaptainB 7ec7984b9f fix: handle JSON parsing for string values in reference fields 2025-07-11 17:44:20 +08:00
CaptainB cdd146dc58 feat: add negative prompt handling in image generation
--bug=1058523 --user=刘瑞斌 【应用】图片生成节点的执行详情中没有显示负向提示词 https://www.tapd.cn/62980211/s/1729010
2025-07-11 15:11:18 +08:00
wxg0103 99d94abe85 refactor: improve image URL handling and clean up unused code in base_image_generate_node.py and tti.py 2025-07-11 14:44:04 +08:00
CaptainB 12feaac958 feat: add check for inactive tool libraries
--bug=1058425 --user=刘瑞斌 【工具】应用中引用的工具被禁用后,对话时依然可以调用工具 https://www.tapd.cn/62980211/s/1728140
2025-07-10 17:01:17 +08:00
CaptainB 9534247713 fix: extract content from image meta before uploading file 2025-07-10 13:57:28 +08:00
CaptainB ed5cc3a0fa fix: update file handling in base_document_extract_node.py to use image metadata
--bug=1058385 --user=刘瑞斌 【应用】文档内容提取节点提取文档失败 https://www.tapd.cn/62980211/s/1727581
2025-07-10 13:04:48 +08:00
shaohuzhang1 3b33078555
fix: Workflow knowledge base retrieval node recall error (#3539) 2025-07-09 21:46:44 +08:00
wxg0103 16088975fa refactor: enhance text-to-speech processing by splitting content into chunks and merging audio segments 2025-07-09 18:08:41 +08:00
shaohuzhang1 c4293c34d1
fix: ai chat node mcp (#3531) 2025-07-09 16:14:44 +08:00
shaohuzhang1 693ed6004a
fix: MCP node execution failed (#3528) 2025-07-09 14:59:55 +08:00
CaptainB 4da75ac3e0 refactor: replace FunctionExecutor with ToolExecutor in base_tool_lib_node and base_tool_node 2025-07-09 12:48:19 +08:00
shaohuzhang1 ec2ddedf93
fix: The sub application cannot use the current node (#3523) 2025-07-09 10:46:57 +08:00
shaohuzhang1 cff1f6c80b
fix: The sub application cannot have a conversation (#3522) 2025-07-09 10:36:59 +08:00
shaohuzhang1 6866ff03b3
fix: Tools cannot be called in the workflow (#3516) 2025-07-08 20:14:33 +08:00
wxg0103 5ba00faf82 refactor: remove unnecessary tobytes() calls when retrieving file content
--bug=1058211 --user=王孝刚 【应用】高级编排-应用对话,图片理解、语音转文本模型执行报错 https://www.tapd.cn/62980211/s/1725144
2025-07-08 10:47:14 +08:00
shaohuzhang1 b52c972ac0
feat: Dialogue displays knowledge sources (#3501) 2025-07-07 21:42:17 +08:00
shaohuzhang1 6effb8f0fb
feat: Application chat (#3494) 2025-07-07 16:08:37 +08:00
shaohuzhang1 e7a30903ba
feat: application upload file (#3487)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-04 19:52:45 +08:00
shaohuzhang1 628e7cdfed
feat: application node (#3480) 2025-07-04 12:08:24 +08:00
CaptainB 1639d4b31c feat: enhance file upload with source_id and source_type metadata 2025-07-03 11:58:43 +08:00
CaptainB aa901c7fc7 fix: update file URL paths to use relative references 2025-07-02 22:45:11 +08:00
shaohuzhang1 219ea75244
feat: Knowledge base search based on authorized users (#3438) 2025-06-30 20:58:30 +08:00
shaohuzhang1 276378a9ae
feat: application workflow (#3415) 2025-06-27 17:35:01 +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
CaptainB 758f424000 fix: replace get_byte() with get_bytes() for consistency in file handling 2025-06-25 10:54:36 +08:00
shaohuzhang1 598b72fd12
fix: chat bugs (#3308) 2025-06-19 14:53:24 +08:00
shaohuzhang1 165de1ad73
feat: chat authentication (#3206) 2025-06-06 22:28:21 +08:00
wxg0103 93833849c1 refactor: file to oss
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-06 11:42:31 +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
shaohuzhang1 76d050bea4
feat: New condition for determining whether the discriminator is true or not (#2809)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-04-07 14:07:30 +08:00
shaohuzhang1 1eccb54199
fix: Knowledge base retrieval segmentation sorted by relevance (#2791) 2025-04-03 10:57:12 +08:00
shaohuzhang1 b3feb243d3
fix: After setting the function library to private, the workflow used should report an error stating that the current function is not authorized to be used (#2742) 2025-03-31 13:58:38 +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 601b03d84e fix: ensure tool parameters are properly handled by reloading JSON
--bug=1053980 --user=刘瑞斌 【应用】MCP节点的工具参数引用参数时,对话过程中参数值发生变化,MCP节点没有获取最新的参数值 https://www.tapd.cn/57709429/s/1676830
2025-03-26 19:15:30 +08:00
CaptainB 436e43dd04 feat: enhance form handling with dynamic input fields and reference content retrieval 2025-03-26 12:43:51 +08:00
CaptainB 563516f835 feat: AI chat node mcp server config 2025-03-24 18:38:54 +08:00
CaptainB 2d6ac806ff feat: add MCP server tools integration and UI components 2025-03-24 18:38:54 +08:00
shaohuzhang1 8b52927b4f
fix: The float values collected by the form will be treated as ints when the decimal part is 0, resulting in a type error (#2601)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-03-18 16:40:15 +08:00
CaptainB aab6a2cdf3 refactor: Improve parameter handling in function execution 2025-03-18 14:03:48 +08:00
CaptainB 510fae6bf1 feat: Support internal functionlib
--story=1017939 --user=刘瑞斌 【函数库】- 支持 系统内置函数 https://www.tapd.cn/57709429/s/1665943
2025-03-17 10:30:25 +08:00
shaohuzhang1 e420a01e0d
fix: Enterprise WeChat docking sub application cannot output thinking process (#2489) 2025-03-04 19:31:49 +08:00
shaohuzhang1 72db45bcc0
fix: Changing the answer does not take effect (#2437) 2025-02-28 11:51:55 +08:00
shaohuzhang1 7d47f97354
fix: Sending error when extracting multiple forms and documents in the workflow (#2434) 2025-02-27 19:34:36 +08:00
CaptainB c433c03fc0 fix: Fix variable assign num not working
--bug=1052497 --user=刘瑞斌 【变量赋值】-将全局变量赋值为num类型,输出时报错 https://www.tapd.cn/57709429/s/1659733
2025-02-27 12:08:24 +08:00
CaptainB c92ad06092 refactor: Support the generated images horizontal tiling display
--story=1017907 --user=刘瑞斌 【越秀农牧】图片生成节点,生成的图片,希望可以支持横向平铺展示 https://www.tapd.cn/57709429/s/1659636
2025-02-27 10:58:54 +08:00
CaptainB dfcb724502 refactor: Support string,json,num types 2025-02-25 14:05:58 +08:00
刘瑞斌 df940686e9
Variable assign (#2346)
* feat: Support variable assign

* feat: Workfloat support variable assign(#2114)

* feat: Support variable assign save input output value

* feat: Execution detail support variable assign(#2114)

* feat: Support variable assign dict array value config

* chore: rename package

---------

Co-authored-by: wangdan-fit2cloud <dan.wang@fit2cloud.com>
2025-02-21 11:00:56 +08:00
shaohuzhang1 bb557fd187
fix: Child application node, input parameters too long, error reported during Q&A (#2347) 2025-02-21 10:28:02 +08:00
Harry f5155e7f7e
fix: bad code copy (#2341)
Co-authored-by: 杨树海 <yangshuhai@pdnews.cn>
2025-02-21 10:12:41 +08:00
shaohuzhang1 168f822416 refactor: Multi channel recall, adding display of knowledge base titles and other information 2025-02-18 16:56:44 +08:00
shaohuzhang1 7f6c528291
feat: The discriminator supports variables (#2311) 2025-02-18 14:45:11 +08:00
wxg0103 a8d79c5e60 fix: Defect of embedding application parameters as empty and reporting errors
--bug=1052184 --user=王孝刚 【github#2273】【应用】-有非必填接口传参的编排应用,作为节点加入新的编排应用后,接口传参为空时对话报错 https://www.tapd.cn/57709429/s/1654259
2025-02-14 10:39:28 +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
shaohuzhang1 041cf09011
fix: The Chinese characters in the form data have been transcoded (#2192) 2025-02-10 11:08:36 +08:00