Commit Graph

750 Commits

Author SHA1 Message Date
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
shaohuzhang1 410101ea94
fix: Workflow publishing name time error (#3988) 2025-09-03 15:08:22 +08:00
CaptainB fcd6b53bfc chore: add check for inactive tools in base_mcp_node.py 2025-09-03 14:35:40 +08:00
CaptainB 1ad5eec380 fix: update chat update_time to use timezone.now for consistency 2025-09-02 15:52:04 +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
shaohuzhang1 9970d21a8e
fix: Not displaying execution details and returning too much data (#3974) 2025-09-01 15:47:15 +08:00
zhangzhanwei 6b17b450d4 fix: Chat log add to knowledge permission
--bug=1060944 --user=张展玮 【权限】用户只有知识库的查看权限,但可以将对话日志中的信息添加到知识库作为分段,并可删除 https://www.tapd.cn/62980211/s/1763639
2025-08-29 15:29:06 +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
CaptainB 669764492c fix: make datetime aware in get_start_time and get_end_time methods 2025-08-28 18:11:25 +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
wxg0103 b5cd3f9b31 feat: add reset_meta function and update meta handling in Document model 2025-08-27 15:26:22 +08:00
shaohuzhang1 d0266de89f
fix: PDF export cross-domain (#3945) 2025-08-27 14:23:58 +08:00
zhangzhanwei 675e90d3db fix: Chat log search 2025-08-27 11:48:03 +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
zhangzhanwei 64e9a29a60 feat: Search application chat log by user 2025-08-25 14:42:45 +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
wxg0103 044465fcc6 feat: enhance model credential validation and support for multiple API versions 2025-08-18 16:46:27 +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 2367b8747e
fix: There is a tool node in the application - the tool node has startup parameters - after importing, the tool should be disabled (#3831)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-08-06 16:38:37 +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 44645734f5
fix: There is a tool node in the application - the tool node has startup parameters - after importing, the tool should be disabled (#3821) 2025-08-05 17:30:36 +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 f7623dcfdc
feat: Application list search criteria support querying by status (#3803) 2025-08-04 15:38:20 +08:00
shaohuzhang1 fe94ca578e
fix: After the application name change - the application name on the demo page has not been updated (#3800) 2025-08-04 14:02:53 +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 efbcec98bc
fix: Opening statement character limit 40960 (#3790) 2025-07-31 16:43:52 +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 65ab0ef170
fix: Interface parameter asker, user cannot be seen in the conversation log #3735 (#3748) 2025-07-25 17:16:05 +08:00
shaohuzhang1 e85d5b9714
fix: The conversation user in the workflow cannot be passed into the function (#3685) 2025-07-21 14:47:35 +08:00
CaptainB b5d2982812 chore: validate transport types in mcp_servers configuration 2025-07-21 11:23:53 +08:00
shaohuzhang1 7e78b7fa81
fix: Multiple recall error when the previous node has no data (#3665) 2025-07-18 11:34:20 +08:00
CaptainB 19a1b5a788 refactor: enhance paragraph positioning logic in ApplicationChatRecord 2025-07-17 16:59:12 +08:00
shaohuzhang1 8a9e0abe3b
fix: Unable to play voice after publishing (#3643) 2025-07-16 20:49:13 +08:00
zhangzhanwei 1ea86202b8 fix: Application debug 2025-07-16 19:10:20 +08:00
shaohuzhang1 ca6630f258
fix: Application export misalignment (#3638) 2025-07-16 18:44:51 +08:00
shaohuzhang1 173cf52584
fix: The startup parameters of the application import tool were not imported (#3636) 2025-07-16 18:22:57 +08:00
shaohuzhang1 c7a9a4d4bd
fix: Floating window image cannot be displayed (#3634)
* fix: After modifying the voice playback settings in the application, save the unpublished settings, and the conversation page should display the settings before modification

* fix: Floating window image cannot be displayed
2025-07-16 17:55:24 +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 69f004359b
fix: Application debugging will add new users (#3630) 2025-07-16 16:47:32 +08:00
shaohuzhang1 f91afd593b
fix: Dialogue user does not display username (#3628) 2025-07-16 15:35:33 +08:00
wxg0103 c035dc5f39 fix: remove empty lines from text before text-to-speech conversion 2025-07-16 10:12:49 +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
zhangzhanwei 7317d5510d fix: Application api key 2025-07-15 20:56:13 +08:00
shaohuzhang1 d2560c664c
fix: Simple application full-text search cannot retrieve data (#3606) 2025-07-15 16:26:53 +08:00
shaohuzhang1 55985a2460
fix: Simple application dialogue not handled as published (#3598) 2025-07-15 12:13:22 +08:00
wxg0103 bd1f75a4ae refactor: streamline SQL queries in list_application.sql, list_application_user.sql, and list_application_user_ee.sql 2025-07-15 09:49:21 +08:00
CaptainB 67859e9873 feat: add ChatUser, UserGroup, and authorization models to initial migration 2025-07-14 19:54:18 +08:00
wxg0103 b3698b30ca feat: add authentication fields to ApplicationAccessToken and update related serializers 2025-07-14 18:02:32 +08:00
zhangzhanwei 0356dfed1f feat: Operation log 2025-07-14 17:41:18 +08:00
shaohuzhang1 074375478d
fix: The conversation user is not authorized to use (#3581) 2025-07-14 16:13:53 +08:00
CaptainB ea56fd6212 feat: add db_index to various fields for improved query performance 2025-07-14 11:54:19 +08:00
CaptainB 1ac7fc4669 refactor: Update user foreign key constraints and add new fields across multiple models
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-14 10:52:08 +08:00
shaohuzhang1 34842e4ae4
feat: application chat api (#3574) 2025-07-12 17:54:37 +08:00
wxg0103 2d734d0aaa refactor: enhance chat record processing and update translations for user-related fields 2025-07-12 10:30:47 +08:00
wxg0103 1374ed4171 refactor: update chat record processing to include chat count updates 2025-07-12 09:50:57 +08:00
shaohuzhang1 1a2a02b808
fix: Importing an application that references tools from the tool store will create tools from the tool store in the new workspace (#3568) 2025-07-11 22:13:54 +08:00
shaohuzhang1 d8c35fffd7
fix: The limit on the number of conversations in the application is invalid (#3567) 2025-07-11 22:02:42 +08:00
shaohuzhang1 592ae54e82
fix: Application import (#3566) 2025-07-11 21:45:08 +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
wxg0103 2783d7dcde refactor: add 'show_exec' field to application access token response 2025-07-11 15:13:11 +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
wxg0103 79537cade9 refactor: update user field in application and knowledge models to allow null values and set null on delete 2025-07-10 14:49:44 +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
shaohuzhang1 3450ef78a4
fix: Application import and export (#3538) 2025-07-09 21:34:41 +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 7ff65aef76
fix: Application import and export (#3525) 2025-07-09 12:35:49 +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 49d40bb480
fix: Application access restrictions (#3519) 2025-07-08 21:01:32 +08:00
shaohuzhang1 6866ff03b3
fix: Tools cannot be called in the workflow (#3516) 2025-07-08 20:14:33 +08:00
shaohuzhang1 31147c0f6e
fix: AI conversation file upload image cannot be loaded (#3512) 2025-07-08 17:30:32 +08:00
shaohuzhang1 fce2f50a01
fix: Apply MCP node acquisition tool (#3510) 2025-07-08 17:02:02 +08:00
shaohuzhang1 f8249cd601
fix: The number of conversations has not been updated (#3509) 2025-07-08 16:35:54 +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 7f7704042e
feat: PDF Preview (#3502)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-07 22:58:23 +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
wxg0103 ce1884ec60 refactor: add application_id and workspace_id fields to chat record serializer 2025-07-04 18:17:26 +08:00
shaohuzhang1 628e7cdfed
feat: application node (#3480) 2025-07-04 12:08:24 +08:00
shaohuzhang1 e21d53b746
feat: Simple application version (#3479) 2025-07-04 11:42:31 +08:00
wxg0103 ba3a2153e0 refactor: simplify data handling in ApplicationChatRecordAddKnowledgeSerializer 2025-07-04 10:13:40 +08:00
CaptainB 08695cea0c refactor: update query parameter handling in workspace retrieval 2025-07-03 20:05:30 +08:00
wxg0103 1d35700d2a refactor: enhance model retrieval logic and update optional parameters 2025-07-03 17:28:19 +08:00
shaohuzhang1 df49c5ba5c
fix: Automatic authorization for resource creation (#3464) 2025-07-03 14:46:55 +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 da0be4b0ce
fix: URL 404 (#3460) 2025-07-02 21:49:55 +08:00
shaohuzhang1 9166528504
feat: File URL adaptation (#3459) 2025-07-02 21:02:45 +08:00
zhangzhanwei f01bf625ef feat: System common user permission to knowledge application tool model by resource authorization 2025-07-02 19:07:42 +08:00
shaohuzhang1 ef15d819cf
fix: Related knowledge base (#3456) 2025-07-02 16:54:22 +08:00
CaptainB da0d633121 refactor: update user option label to use nick_name and fetch member list on mount 2025-07-02 16:51:35 +08:00
wxg0103 5dc51836ef refactor: chat 2025-07-01 11:14:28 +08:00
shaohuzhang1 56932b3afd
fix: Debugging dialogue error (#3440) 2025-07-01 10:15:01 +08:00
shaohuzhang1 05f4eb532e
fix: search knowledge (#3439) 2025-06-30 21:47:54 +08:00
shaohuzhang1 219ea75244
feat: Knowledge base search based on authorized users (#3438) 2025-06-30 20:58:30 +08:00
shaohuzhang1 d8a9c9ccdd
feat: Application text to speech and speech to text functions (#3433) 2025-06-30 18:03:11 +08:00
shaohuzhang1 276378a9ae
feat: application workflow (#3415) 2025-06-27 17:35:01 +08:00
wxg0103 8f70bacc02 refactor: sql 2025-06-27 14:40:22 +08:00
wxg0103 c5c06254b7 feat: role setting 2025-06-27 14:29:44 +08:00
shaohuzhang1 c95a49c972
fix: application related knowledge (#3407)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-26 22:38:32 +08:00
shaohuzhang1 3447da58bd
fix: application related knowledge (#3406) 2025-06-26 22:31:12 +08:00
CaptainB a73e0b10f9 refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 17:00:18 +08:00
shaohuzhang1 4a90127a92
fix: Application workspace restrictions (#3385) 2025-06-25 16:56:10 +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 8f62257fee chore: improve URL formatting and readability in urls.py 2025-06-25 14:51:47 +08:00
CaptainB 83e9a8ce98 feat: add folder_id support in knowledge and tool modules 2025-06-25 12:17:06 +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 fc6b087d75
fix: User delete resource delete policy (#3376) 2025-06-24 18:46:20 +08:00
shaohuzhang1 31c92fb492
fix: Application user delete policy (#3375) 2025-06-24 17:56:20 +08:00
shaohuzhang1 e98ecf4c2f
fix: application knowledge list (#3368) 2025-06-24 15:11:08 +08:00
shaohuzhang1 6dfcc5e54d
fix: application knowledge list (#3367) 2025-06-24 15:01:43 +08:00
shaohuzhang1 af6f88a616
fix: application knowledge list (#3365) 2025-06-24 13:45:36 +08:00
shaohuzhang1 869812d87b
fix: application list (#3359)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-24 10:29:37 +08:00
shaohuzhang1 dca48d1388
feat: Chat vote (#3355) 2025-06-23 20:19:32 +08:00
shaohuzhang1 b971a2c15f
fix: knowledge list (#3348) 2025-06-23 16:54:48 +08:00
shaohuzhang1 a00860528a
fix: application query (#3344) 2025-06-23 12:09:44 +08:00
CaptainB 3e9c3c0602 feat: update UUID generation to use uuid7 for improved uniqueness across models 2025-06-23 11:19:20 +08:00
shaohuzhang1 06e910b630
feat: application publish (#3342) 2025-06-23 10:35:21 +08:00
CaptainB b496a2b2c5 feat: update migration files and add new models for application settings and chat functionality 2025-06-23 10:25:45 +08:00
CaptainB c598a1586e fix: specify application.id in permission query 2025-06-21 12:48:30 +08:00
shaohuzhang1 145e96594f
fix: Complete application permissions (#3338) 2025-06-20 22:31:41 +08:00
shaohuzhang1 e02d417af9
feat: application assess (#3312) 2025-06-19 17:25:46 +08:00