Commit Graph

2382 Commits

Author SHA1 Message Date
shaohuzhang1 df49c5ba5c
fix: Automatic authorization for resource creation (#3464) 2025-07-03 14:46:55 +08:00
shaohuzhang1 0b27836ccb
fix: Chat prefix (#3463) 2025-07-03 14:34:41 +08:00
shaohuzhang1 66699ef497
fix: Application embed (#3462) 2025-07-03 12:26:20 +08:00
wxg0103 e1df14b16d refactor: update role constants to use names instead of values 2025-07-03 12:03:37 +08:00
CaptainB 1639d4b31c feat: enhance file upload with source_id and source_type metadata 2025-07-03 11:58:43 +08:00
CaptainB 79dc3e4909 feat: add source_id and source_type fields to FileSerializer and update related components 2025-07-03 11:40:02 +08:00
wxg0103 50cc851f4f fix: change user role to a list for compatibility with role relations 2025-07-03 10:39:40 +08:00
CaptainB 1064e8bc63 refactor: update icon paths for internal tools in SQL definitions 2025-07-03 10:16:09 +08:00
wxg0103 4c3b2b6040 fix: update translations 2025-07-03 09:54:38 +08:00
wxg0103 557f82af7c fix: update translations and correct workspace API import path 2025-07-03 09:27:18 +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
CaptainB b011cd7d26 feat: add tool creation with automatic permissions and cache refresh
--bug=1057901 --user=刘瑞斌 【资源授权】社区版从工具商店添加工具失败 https://www.tapd.cn/62980211/s/1722159
2025-07-02 18:15:45 +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
CaptainB 621cd37385 refactor: add create_user field to knowledge query and update filtering logic 2025-07-02 16:22:51 +08:00
CaptainB aff1ab7d1b refactor: add create_user field to tool serialization and update related logic
--bug=1057413 --user=刘瑞斌 【工具】搜索项选择创建者,创建者列表为空 https://www.tapd.cn/62980211/s/1721870
2025-07-02 15:58:48 +08:00
shaohuzhang1 191e62f96d
fix: role user permission (#3453) 2025-07-02 14:58:02 +08:00
wxg0103 a98f20e5b9 refactor: add django_apscheduler to installed apps 2025-07-02 14:30:08 +08:00
CaptainB ac4bf303f4 refactor: update SQL queries to include embedding_model_id and adjust filters for knowledge_id 2025-07-02 14:28:03 +08:00
CaptainB a34c089b73 refactor: enhance knowledge retrieval logic for workspace management and x-pack EE 2025-07-02 14:28:03 +08:00
shaohuzhang1 e8418f6f5c
fix: role user permission (#3452) 2025-07-02 14:26:57 +08:00
zhangzhanwei 8b40762218 fix: Application permission 2025-07-02 14:19:11 +08:00
CaptainB de1ec6addb refactor: improve model data serialization and update user field names 2025-07-02 14:00:04 +08:00
CaptainB 5ac0b2be3d refactor: simplify cache timeout handling in user token management 2025-07-02 12:43:50 +08:00
CaptainB 6068530cdd refactor: update locking mechanism to use a consistent key format and set default timeout 2025-07-02 12:36:43 +08:00
CaptainB 0ad38e2540 refactor: improve document status update logic and enhance post handler functionality 2025-07-02 11:44:45 +08:00
zhanweizhang7 b71a854d7c
feat: Shared knowledge access permission (#3450) 2025-07-02 11:35:14 +08:00
CaptainB 868b4b6eab refactor: include workspace_id in document query return values
--bug=1057837 --user=刘瑞斌 【知识库】、压缩包文件中存在视频和图片,只能分段上传后提示信息存在问题 https://www.tapd.cn/62980211/s/1721454
2025-07-02 11:01:32 +08:00
CaptainB bdba4bc34c refactor: improve knowledge editing logic to prevent name duplication
--bug=1057801 --user=刘瑞斌 【知识库】不同文件夹下创建相同名称的知识库成功,当切换知识库向量模型时会提示知识库名称重复 https://www.tapd.cn/62980211/s/1721429
2025-07-02 10:38:23 +08:00
CaptainB 9541b27d76 refactor: enhance deletion process by removing associated permissions for knowledge, model, and tool 2025-07-02 10:06:05 +08:00
wxg0103 0e339701da refactor: user role 2025-07-02 09:43:34 +08:00
shaohuzhang1 3f6faa7592
feat: dynamic URL (#3448) 2025-07-01 20:10:47 +08:00
wxg0103 487e7eda6f refactor: user role 2025-07-01 19:53:53 +08:00
wxg0103 411a0446b3 refactor: user role 2025-07-01 19:23:53 +08:00
wxg0103 816bf19d86 refactor: role 2025-07-01 18:22:56 +08:00
zhangzhanwei a4143eed23 feat: hit test permission 2025-07-01 18:12:31 +08:00
CaptainB 8c0361bbc2 refactor: update API endpoint paths to include admin prefix 2025-07-01 18:08:12 +08:00
CaptainB f9a8b9c270 refactor: update dynamic URL handling in tool serialization 2025-07-01 18:00:47 +08:00
wxg0103 f73721c73e refactor: workspace permission 2025-07-01 17:37:50 +08:00
CaptainB d5bfe98c23 refactor: update tool icon paths for consistency 2025-07-01 17:14:46 +08:00
CaptainB a58ee19fab refactor: update default admin path to include leading slash 2025-07-01 16:31:07 +08:00
CaptainB cecd3f90c6 refactor: remove unused logging import and enhance knowledge base query 2025-07-01 16:07:43 +08:00
CaptainB cc06d07016 refactor: enhance document download function with additional parameter and add new MIME types 2025-07-01 15:59:08 +08:00
shaohuzhang1 2ad5883aef
feat: dynamic URL (#3444)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-01 15:43:00 +08:00
CaptainB 9b89e8f75c refactor: enhance file parsing by saving source files and linking document IDs 2025-07-01 15:24:07 +08:00
wxg0103 38c3dcae7e fix: field error message 2025-07-01 15:15:38 +08:00
CaptainB b0b269f3d4 refactor: extend KnowledgeModelSerializer fields to include file size and count limits
--bug=1057593 --user=刘瑞斌 【共享资源】共享知识库设置界面,向量模型为空,不回显 https://www.tapd.cn/62980211/s/1720862
2025-07-01 14:21:10 +08:00
CaptainB 089915f488 refactor: improve error logging for image reading and enhance image handling logic
--bug=1057749 --user=刘瑞斌 【知识库】qa问答对文档中带图片,导入后图片未显示 https://www.tapd.cn/62980211/s/1720856
2025-07-01 14:17:10 +08:00
CaptainB 407fe83582 refactor: streamline folder deletion process and enhance permission checks 2025-07-01 13:21:04 +08:00
CaptainB b1dd321e28 refactor: add user_id to folder operations for permission checks 2025-07-01 12:54:55 +08:00
CaptainB ad5c8122d3 refactor: remove unnecessary condition for workspace management in knowledge.py and update SQL query in list_knowledge_user.sql 2025-07-01 11:58:44 +08:00
CaptainB e724ffbebd refactor: simplify query set handling in tool.py and list_tool_user.sql 2025-07-01 11:57:42 +08:00
wxg0103 5dc51836ef refactor: chat 2025-07-01 11:14:28 +08:00
CaptainB 2cf01dd12c refactor: remove license validation message for community version knowledge bases 2025-07-01 11:08:07 +08:00
liqiang-fit2cloud 94847bb8f0 Merge remote-tracking branch 'origin/v2' into v2 2025-07-01 10:45:09 +08:00
liqiang-fit2cloud 636c219979 feat: add MAXKB_ADMIN_PATH env. 2025-07-01 10:44:42 +08:00
CaptainB ea5fae09c4 refactor: remove license validation message for community version knowledge bases 2025-07-01 10:44:26 +08:00
liqiang-fit2cloud f0ef375010 Merge remote-tracking branch 'origin/v2' into v2 2025-07-01 10:24:58 +08:00
liqiang-fit2cloud d655028f9e feat: add MAXKB_ADMIN_PATH env. 2025-07-01 10:24:49 +08:00
shaohuzhang1 56932b3afd
fix: Debugging dialogue error (#3440) 2025-07-01 10:15:01 +08:00
liqiang-fit2cloud bc87101bc8 feat: add MAXKB_SANDBOX_PYTHON_PACKAGE_PATHS env. 2025-07-01 10:09:54 +08:00
CaptainB 482fbf4003 fix: update Redis host comment and increase default session timeout
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-30 22:18:14 +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
CaptainB 305cdea34b refactor: remove SOCKET_TIMEOUT from Redis configuration 2025-06-30 18:25:14 +08:00
zhangzhanwei 60a0c6039e feat: Knowledge chat user permission 2025-06-30 18:23:44 +08:00
CaptainB b2667998a4 refactor: remove incompatible CONNECTION_POOL_KWARGS from Redis config 2025-06-30 18:19:54 +08:00
CaptainB a6f0081c94 feat: enhance Redis Sentinel configuration to support dynamic sentinel settings 2025-06-30 18:17:30 +08:00
shaohuzhang1 d8a9c9ccdd
feat: Application text to speech and speech to text functions (#3433) 2025-06-30 18:03:11 +08:00
wxg0103 2aa86ebfaa refactor: model params 2025-06-30 18:02:30 +08:00
wxg0103 7e80b951ac refactor: model params 2025-06-30 17:47:31 +08:00
wxg0103 da3c945b56 refactor: model 2025-06-30 17:42:48 +08:00
wxg0103 e6f9238005 refactor: i18n 2025-06-30 16:39:33 +08:00
shaohuzhang1 2c0a8afd5f
fix: add extends role (#3430)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-30 15:05:53 +08:00
CaptainB 71ad83a267 feat: update Redis Sentinel configuration to use SENTINEL_SENTINELS 2025-06-30 14:54:28 +08:00
CaptainB 91f68781fe feat: add Redis Sentinel support to cache settings 2025-06-30 13:27:21 +08:00
CaptainB 0f1d57f0cb feat: enhance error logging for file processing in CSV, XLS, and DOC handlers 2025-06-30 12:49:50 +08:00
CaptainB 82a2203be6 fix: handle string type for limit and improve error logging in pdf_split_handle
--bug=1057493 --user=刘瑞斌 【知识库】上传文档,使用高级分段报错 https://www.tapd.cn/62980211/s/1720110
2025-06-30 12:47:47 +08:00
CaptainB 049c0e0bb0 refactor: improve readability of model data retrieval in model_serializer 2025-06-30 12:29:51 +08:00
shaohuzhang1 91e2dd7ea6
feat: add extends role (#3428) 2025-06-30 11:50:59 +08:00
wxg0103 1107b70a4a refactor: model 2025-06-30 11:16:55 +08:00
shaohuzhang1 8e29562e30
feat: Knowledge chat user permission (#3426) 2025-06-30 11:08:30 +08:00
CaptainB cc692ffbe1 feat: update permission constants to include ResourcePermission
--bug=1057659 --user=刘瑞斌 【共享资源】企业版-创建共享工具失败 https://www.tapd.cn/62980211/s/1720006
2025-06-30 10:53:58 +08:00
shaohuzhang1 f5ee7b5c25
feat: user resource permission (#3424) 2025-06-30 10:47:28 +08:00
wxg0103 e85aee434c refactor: resource model add create_time update_time 2025-06-30 09:47:58 +08:00
CaptainB 7862c17b21 refactor: remove debug print statement for session timeout in UserToken class
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-06-28 19:44:19 +08:00
CaptainB 1dc6d6e8ba feat: add session timeout configuration to Config class 2025-06-28 19:43:40 +08:00
shaohuzhang1 d4d7bdde41
feat: user resource permission ui (#3423)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-27 22:38:00 +08:00
shaohuzhang1 c5bdada6dc
feat: user resource permission (#3422) 2025-06-27 22:22:52 +08:00
CaptainB 327b6cc563 refactor: adjust paragraph position indexing to start from 1 2025-06-27 19:01:05 +08:00
shaohuzhang1 4b4691d689
feat: Chat record details (#3418) 2025-06-27 18:54:05 +08:00
CaptainB 22d86f046a refactor: adjust paragraph positions during migration for consistency 2025-06-27 18:40:52 +08:00
CaptainB cd25bcf074 refactor: adjust paragraph position handling to insert new paragraphs at the top
--bug=1057642 --user=刘瑞斌 【知识库】文档中添加分段,最后添加的没显示在最上面 https://www.tapd.cn/62980211/s/1719802
2025-06-27 17:59:09 +08:00
shaohuzhang1 276378a9ae
feat: application workflow (#3415) 2025-06-27 17:35:01 +08:00
wxg0103 a7cbba161c refactor: xfembedding model 2025-06-27 16:34:22 +08:00
CaptainB db58ed8aba fix: allow null and blank values for status and order_by fields in document queries
--bug=1057473 --user=刘瑞斌 【知识库】文档列表通过列表字段筛选文档不生效 https://www.tapd.cn/62980211/s/1719702
2025-06-27 16:28:11 +08:00
zhangzhanwei 62cb3704cf feat: System setting permission 2025-06-27 15:11:57 +08:00
wxg0103 644247b1cb refactor: permission 2025-06-27 15:03:43 +08:00
wxg0103 8f70bacc02 refactor: sql 2025-06-27 14:40:22 +08:00
wxg0103 c1e01e005b feat: role setting 2025-06-27 14:38:32 +08:00
wxg0103 e25544e032 feat: role setting 2025-06-27 14:37:16 +08:00
wxg0103 c5c06254b7 feat: role setting 2025-06-27 14:29:44 +08:00
wxg0103 d0e447774f refactor: model
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-27 11:54:27 +08:00
wxg0103 594ca6cd89 refactor: model 2025-06-27 11:18:02 +08:00
CaptainB 173f7e8321 fix: ensure limit parameter is an integer in split_model initialization
--bug=1057597 --user=刘瑞斌 【知识库】通用知识库高级分段生成预览为空 https://www.tapd.cn/62980211/s/1719490
2025-06-27 11:06:55 +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
zhangzhanwei 530928af38 fix: System router permission 2025-06-26 21:03:10 +08:00
CaptainB c2c1d4eeb9 feat: make folder_id optional in KnowledgeSerializer query
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
--bug=1057489 --user=刘瑞斌 【知识库】-文档迁移功能报错,无法选择文件夹和目标知识库 https://www.tapd.cn/62980211/s/1719276
2025-06-26 20:13:56 +08:00
wxg0103 20010ee227 refactor: model 2025-06-26 20:06:26 +08:00
wxg0103 e1c37636d6 refactor: resource model list 2025-06-26 19:54:28 +08:00
wxg0103 3bab501f08 refactor: i18n 2025-06-26 19:53:56 +08:00
CaptainB 0c2a17ed56 feat: update get_query_set method to accept workspace_manage and is_x_pack_ee parameters 2025-06-26 19:43:45 +08:00
wxg0103 75df321783 refactor: model list 2025-06-26 19:08:23 +08:00
CaptainB 8fc074fecb feat: enhance tool query logic and add user-specific SQL files for improved access control 2025-06-26 19:06:58 +08:00
CaptainB 8b960b96a1 feat: implement automatic authorization and cache refresh for new tool creation 2025-06-26 19:06:58 +08:00
shaohuzhang1 f13a29a611
fix: model share (#3402) 2025-06-26 18:18:19 +08:00
CaptainB 974f61d2d9 feat: update document and paragraph status default to use get_default_status function 2025-06-26 17:48:18 +08:00
shaohuzhang1 8ce3a44ef8
fix: list shard model (#3399) 2025-06-26 17:40:37 +08:00
wxg0103 e8f80094ce refactor: model 2025-06-26 17:26:50 +08:00
CaptainB d49f448a5f fix: correct image path replacement logic in zip_split_handle 2025-06-26 17:02:34 +08:00
wxg0103 0886459bad refactor: Add log records for image understanding
--bug=1057568 --user=王孝刚 【模型管理】阿里云百炼视觉模型输入错误的基础模型可正常创建 https://www.tapd.cn/62980211/s/1719185
2025-06-26 16:58:18 +08:00
CaptainB 37ac79dc5a feat: import File model in zip_split_handle for enhanced functionality
--bug=1057478 --user=刘瑞斌 【知识库】通用知识库上传ZIP文件,分段失败 https://www.tapd.cn/62980211/s/1719181
2025-06-26 16:56:28 +08:00
CaptainB e24a2001c5 feat: refine regex patterns in text_split_handle for improved comment detection
--bug=1057526 --user=刘瑞斌 【知识库】markdown文件导入知识库,分段详情中代码块展示异常 https://www.tapd.cn/62980211/s/1719131
2025-06-26 16:23:32 +08:00
CaptainB 56fe631ed6 feat: update knowledge export methods to use knowledge_id for filtering documents and paragraphs
--bug=1057505 --user=刘瑞斌 【知识库】导出知识库是空白的 https://www.tapd.cn/62980211/s/1719080
2025-06-26 15:55:37 +08:00
CaptainB dfa66c1d23 feat: adjust position handling in paragraph serializer to ensure integer type
--bug=1057467 --user=刘瑞斌 【知识库】企业版-知识库文档中添加分段失败 https://www.tapd.cn/62980211/s/1719011
2025-06-26 15:15:50 +08:00
shaohuzhang1 ce5850b6d4
feat: tool model resource permission (#3395) 2025-06-26 14:20:57 +08:00
wxg0103 ac7e39fb18 refactor: model 2025-06-26 14:15:08 +08:00
CaptainB ad72517ebe feat: add validation for folder name uniqueness and parent folder assignment
--bug=1057431 --user=刘瑞斌 【工具】文件夹编辑,可以修改名称与同级文件夹重名 https://www.tapd.cn/62980211/s/1718940
2025-06-26 14:06:30 +08:00
wxg0103 183d6c74d5 refactor: knowledge model
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-26 11:40:57 +08:00
wxg0103 f463786710 fix: PASSWORD_REGEX 2025-06-26 10:44:19 +08:00
shaohuzhang1 ea7b8547be
fix: user permission (#3390) 2025-06-25 20:37:27 +08:00
CaptainB 67bb79079f feat: update logging configuration for improved log level management and format 2025-06-25 18:48:10 +08:00
wxg0103 a26c4320dd refactor: user filter 2025-06-25 18:38:50 +08:00
shaohuzhang1 6cdd8ffe39
feat: add download operate permission (#3388) 2025-06-25 17:57:55 +08:00
CaptainB 40fcc5bcb9 refactor: replace logging calls with maxkb_logger for consistency 2025-06-25 17:37:09 +08:00
wxg0103 3a2294e53b fix: chat user change error 2025-06-25 17:30: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
wxg0103 fe066aea68 fix: Modify password verification regular expression
--bug=1057464 --user=王孝刚 【对话用户】用户-修改密码-修改密码为「Abc123」,修改成功了-与密码规则不符 https://www.tapd.cn/62980211/s/1718453
2025-06-25 16:29:06 +08:00
CaptainB 3aa0847506 refactor: replace print statements with logging for improved error tracking 2025-06-25 16:18:19 +08:00
wxg0103 13dc156a58 fix: model save failed message error
--bug=1057469 --user=王孝刚 【模型】 删除模型提示信息和需求不符 https://www.tapd.cn/62980211/s/1718440
2025-06-25 16:11:04 +08:00
liqiang-fit2cloud 0e3ae6a8f8 feat: add MAXKB_LOG_LEVEL env. 2025-06-25 16:05:02 +08:00
wxg0103 b06d5685f2 refactor: i18n 2025-06-25 15:15:21 +08:00
CaptainB f1e6b5adec fix: update FileSerializer operation to use data dictionary for file ID 2025-06-25 15:10:01 +08:00
CaptainB 8f62257fee chore: improve URL formatting and readability in urls.py 2025-06-25 14:51:47 +08:00
wxg0103 2f9052279a fix: VolcanicEngine tts error 2025-06-25 14:47:08 +08:00
wxg0103 9f684dadd2 refactor: add aliyun llm example
--bug=1057451 --user=王孝刚 【模型】-阿里百炼的基础模型中增加千问3的模型,保持和v1相同 https://www.tapd.cn/62980211/s/1718320
2025-06-25 14:34:29 +08:00
wxg0103 44c318e8c8 fix: VolcanicEngine stt error
--bug=1057449 --user=王孝刚 【模型】添加火山语音识别模型失败 https://www.tapd.cn/62980211/s/1718297
2025-06-25 14:28:31 +08:00
CaptainB 2570114edf feat: add icon attribute to internal tool data structure 2025-06-25 12:41:18 +08:00
CaptainB 83e9a8ce98 feat: add folder_id support in knowledge and tool modules 2025-06-25 12:17:06 +08:00
wxg0103 66ab7fdf34 refactor: default embedding model edit workspace_id 2025-06-25 11:42:56 +08:00
CaptainB 73ee9bf602 fix: replace get_byte() with get_bytes() for consistency in file handling 2025-06-25 10:55:48 +08:00
CaptainB 758f424000 fix: replace get_byte() with get_bytes() for consistency in file handling 2025-06-25 10:54:36 +08:00
wxg0103 93530e0a9b fix: shared model edit error 2025-06-25 10:52:43 +08:00
wxg0103 f248697794 refactor: ui warning message 2025-06-24 19:14:22 +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
CaptainB d0f70ab466 feat: add workspace_id field to Create serializer
--bug=1057315 --user=刘瑞斌 【文件夹】-非默认工作空间,在根目录下创建文件夹失败 https://www.tapd.cn/62980211/s/1717846
2025-06-24 17:52:57 +08:00
shaohuzhang1 275ec80701
feat: chat record (#3374) 2025-06-24 17:44:59 +08:00
CaptainB 8d5c3e6068 feat: refresh cache for permission list on knowledge save 2025-06-24 16:11:39 +08:00
wxg0103 c253e8b696 refactor: remove print 2025-06-24 15:30:42 +08:00
liqiang-fit2cloud 66bb8f605d refactor: change logfile name. 2025-06-24 15:13:15 +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
CaptainB 2ab57802f4 feat: update sys.path to exclude multiple directories in tool_code.py 2025-06-24 14:45:05 +08:00
shaohuzhang1 28efdb49f7
fix: resource permission (#3366) 2025-06-24 14:09:57 +08:00
CaptainB d459beb1a0 feat: update Python package paths in tool_code.py and Dockerfile 2025-06-24 14:08:18 +08:00
shaohuzhang1 af6f88a616
fix: application knowledge list (#3365) 2025-06-24 13:45:36 +08:00
CaptainB 3a91562289 feat: refactor tool_code.py to use sys.executable and update Dockerfile for diskcache2 installation 2025-06-24 13:35:02 +08:00
shaohuzhang1 1a5db6b5ea
fix: user role (#3362) 2025-06-24 11:14:51 +08:00
wxg0103 a8127efd86 refactor: add valid 2025-06-24 11:09:19 +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 7f9caca5c7
feat: historical conversation (#3358)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-23 21:28:10 +08:00
shaohuzhang1 dca48d1388
feat: Chat vote (#3355) 2025-06-23 20:19:32 +08:00
CaptainB 01ed7045e0 feat: update Dockerfile to set up Python virtual environment and adjust memory settings for builds 2025-06-23 19:42:28 +08:00
wxg0103 eeb101d150 refactor: i18n 2025-06-23 19:04:38 +08:00
wxg0103 0b64e92a33 fix: remove workspace message error
--bug=1057308 --user=王孝刚 【工作空间】删除有工具的工作空间-应该不允许删除 https://www.tapd.cn/62980211/s/1717164
2025-06-23 18:11:15 +08:00
wxg0103 92fd481aff refactor: shared model 2025-06-23 17:22:07 +08:00
shaohuzhang1 4a722575df
fix: knowledge list (#3349) 2025-06-23 17:08:13 +08:00
wxg0103 516c8ea9d2 refactor: shared model 2025-06-23 17:06:19 +08:00
shaohuzhang1 b971a2c15f
fix: knowledge list (#3348) 2025-06-23 16:54:48 +08:00
wxg0103 37a2041d8d refactor: shared model 2025-06-23 16:43:08 +08:00
shaohuzhang1 f32f158876
fix: application permission label (#3345) 2025-06-23 13:46:50 +08:00
shaohuzhang1 a00860528a
fix: application query (#3344) 2025-06-23 12:09:44 +08:00
CaptainB bb109d65cf feat: update permission checks to include workspace-specific roles for knowledge document operations 2025-06-23 11:47:46 +08:00
CaptainB 3e9c3c0602 feat: update UUID generation to use uuid7 for improved uniqueness across models 2025-06-23 11:19:20 +08:00
CaptainB 1a60d8c972 feat: add dependency for system_manage in initial migration and update subproject commit hashes 2025-06-23 10:57:54 +08:00
wxg0103 7e67fbc592 refactor: add model initial sql 2025-06-23 10:35:42 +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 47a3489a0a fix: add LOG_DIR import and update log directory paths
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-06-21 22:42:46 +08:00
CaptainB 23b47f24e7 fix: add folder_id to ToolSerializer initialization 2025-06-21 15:06:13 +08:00
CaptainB c598a1586e fix: specify application.id in permission query 2025-06-21 12:48:30 +08:00
shaohuzhang1 9c73c8dea0
fix: Complete application permissions (#3339)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-20 22:40:48 +08:00
shaohuzhang1 145e96594f
fix: Complete application permissions (#3338) 2025-06-20 22:31:41 +08:00
CaptainB 9777c92e34 feat: add automatic permission assignment for knowledge creators 2025-06-20 17:50:49 +08:00
CaptainB 717c204d22 fix: update template_id assignment in tool creation logic 2025-06-20 17:16:44 +08:00
shaohuzhang1 35d86c6484
feat: workspace manage role (#3333) 2025-06-20 17:15:55 +08:00
liqiang-fit2cloud 0c8a80897b fix: remove REDIS env from sandbox. 2025-06-20 16:29:04 +08:00
wxg0103 c46c631d52 refactor: i18n 2025-06-20 15:52:21 +08:00
CaptainB 4c41a40438 feat: add user role permissions to workspace operations 2025-06-20 15:24:39 +08:00
CaptainB c8a5048c7c feat: add user role permissions to workspace operations 2025-06-20 15:17:36 +08:00
shaohuzhang1 961e67e98d
fix: resource permission group list (#3331)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-20 14:35:58 +08:00
shaohuzhang1 5e67c0b40a
fix: resource permission group list (#3330) 2025-06-20 14:26:15 +08:00
wxg0103 1f5587eeeb fix: workspace add member 2025-06-20 14:23:25 +08:00
CaptainB 83e9b45e79 feat: handle None case for knowledge_dict in knowledge.py 2025-06-20 14:01:13 +08:00
shaohuzhang1 a39010bc4a
fix: resource auth (#3327) 2025-06-20 13:36:28 +08:00
CaptainB 01a25efe1c feat: standardize label field values in tool SQL insert statements 2025-06-20 13:24:29 +08:00
CaptainB 9a89565931 feat: update community file with new hash value 2025-06-20 12:46:46 +08:00
CaptainB f646a5caad fix: update icon paths for various tools in internal_tool.sql 2025-06-20 12:24:23 +08:00
CaptainB 63abffec3c feat: add label field to tool serializer and SQL queries 2025-06-20 11:57:55 +08:00
CaptainB e13bd094fa feat: add label field to tool model and update SQL insert statements 2025-06-20 11:52:51 +08:00
wxg0103 d2ec6d558b fix: model add workspace_id 2025-06-20 10:40:51 +08:00
shaohuzhang1 f40e625ee1
fix: workspace (#3320)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-19 21:43:57 +08:00
shaohuzhang1 ba078a9aab
fix: user role (#3319) 2025-06-19 20:29:28 +08:00
shaohuzhang1 4e170c6ed7
feat: chat password auth (#3318) 2025-06-19 20:02:52 +08:00
CaptainB 7aa73e7110 fix: make folder_id parameter optional in document.py 2025-06-19 19:45:26 +08:00
CaptainB 2c3eb20592 fix: make folder_id parameter optional in document.py 2025-06-19 19:42:29 +08:00
CaptainB 80b3be46fd fix: add template_id to tool and tool_folder queries in list_tool.sql 2025-06-19 19:39:16 +08:00
CaptainB 35b30c2009 fix: add template_id to tool and tool_folder queries in list_tool.sql 2025-06-19 19:22:31 +08:00
CaptainB c9bdb9ca8a fix: add scope column to tool and folder queries in list_tool.sql 2025-06-19 19:15:46 +08:00
CaptainB 4e87048053 fix: add tool_type field to Tool serializer in tool.py 2025-06-19 19:08:38 +08:00
CaptainB a6b8cc4a31 fix: add scope parameter to tool serializer in tool.py 2025-06-19 18:38:12 +08:00
CaptainB 317db5ae18 fix: add scope parameter to tool serializer in tool.py 2025-06-19 18:33:43 +08:00
CaptainB 5237f8b5fc fix: enhance folder movement validation to prevent exceeding depth limit 2025-06-19 17:45:29 +08:00
shaohuzhang1 e02d417af9
feat: application assess (#3312) 2025-06-19 17:25:46 +08:00
CaptainB 52ba4d6342 refactor: update model instance retrieval to use workspace_id and enhance document syncing with image linking 2025-06-19 16:20:15 +08:00
wxg0103 dbfbcdd0b6 refactor: model 2025-06-19 15:50:02 +08:00
wxg0103 c4642a3595 refactor: user 2025-06-19 15:26:29 +08:00
shaohuzhang1 598b72fd12
fix: chat bugs (#3308) 2025-06-19 14:53:24 +08:00
wxg0103 af61494779 refactor: user 2025-06-19 14:37:59 +08:00
CaptainB 6d9068c378 fix: validate folder_id in list method and use request.user.id for user_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-19 13:23:58 +08:00
CaptainB 45908b91ff refactor: update dataset_id to knowledge_id in zip_split_handle.py and tools.py 2025-06-18 21:28:33 +08:00
CaptainB c0b770f41e refactor: update dataset_id to knowledge_id in zip_split_handle.py and tools.py 2025-06-18 21:15:53 +08:00
CaptainB 7dc3cb98ef refactor: comment out RunSQL migration for internal_tool.sql in initial migration
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-18 20:53:40 +08:00
CaptainB ef9e80f900 feat: add batch_cancel_task endpoint to document routes in urls.py 2025-06-18 20:50:46 +08:00
wxg0103 acd0adaf3c refactor: model nick_name 2025-06-18 20:46:36 +08:00
wxg0103 3af2dc7f7c refactor: model nick_name 2025-06-18 20:44:49 +08:00
wxg0103 4e5285ce23 refactor: permission 2025-06-18 20:21:25 +08:00
wxg0103 395f3f91ec refactor: i18n 2025-06-18 20:17:01 +08:00
wxg0103 9ec3a72352 refactor: i18n 2025-06-18 20:00:44 +08:00
CaptainB 4a58954567 feat: add new SQL queries for embedding and keyword searches 2025-06-18 19:48:20 +08:00
wxg0103 9ac2710b24 refactor: permission 2025-06-18 19:21:27 +08:00
CaptainB 89023d14fe refactor: update embedding model ID references in knowledge.py and dataset_lark_serializer.py 2025-06-18 18:46:41 +08:00
CaptainB 63d8906639 refactor: update user reference to use nick_name in index.vue and shared_tool.py 2025-06-18 18:44:48 +08:00
shaohuzhang1 dbbd2f95af
fix: model permission (#3300) 2025-06-18 18:16:05 +08:00
CaptainB b9304f0fda refactor: improve SQL queries to include user nicknames and enhance readability 2025-06-18 18:15:16 +08:00
shaohuzhang1 13c5833d42
fix: model permission (#3299) 2025-06-18 18:09:50 +08:00
shaohuzhang1 c793f429de
fix: model permission (#3298) 2025-06-18 17:55:31 +08:00
CaptainB c1ca6eafe6 refactor: enhance workspace authorization handling in shared knowledge, model, and tool 2025-06-18 17:54:00 +08:00
wxg0103 4975c4b2bf refactor: permission 2025-06-18 17:25:24 +08:00
shaohuzhang1 f7a0ee6184
fix: permission role (#3295) 2025-06-18 17:07:38 +08:00
shaohuzhang1 acb00e92d8
fix: permission role (#3294) 2025-06-18 16:49:17 +08:00
CaptainB 9068c1fca0 refactor: simplify serializer field definitions in tool.py 2025-06-18 16:43:08 +08:00
wxg0103 ee1ca6fb23 refactor: permission 2025-06-18 16:12:54 +08:00
CaptainB e6c2e4fb13 feat: enhance knowledge retrieval with JSON metadata support 2025-06-18 16:10:24 +08:00
wxg0103 3498d799cf refactor: permission 2025-06-18 16:06:18 +08:00
CaptainB 45508b08a3 fix: update file extension from .fx to .tool in export functionality 2025-06-18 15:28:07 +08:00
CaptainB f4e15d76a0 feat: add is_active field to tool and tool_folder queries 2025-06-18 15:22:05 +08:00
CaptainB 707094359b feat: add icon field to tool and tool_folder queries 2025-06-18 15:13:22 +08:00
zhangzhanwei 4eb594598c feat: Permission update 2025-06-18 15:10:01 +08:00
CaptainB c056cd85ac fix: allow null values for tool edit request fields 2025-06-18 15:09:16 +08:00
wxg0103 b16d1d68dc refactor: user 2025-06-18 14:01:43 +08:00
shaohuzhang1 4205dc902f
fix: permission (#3292) 2025-06-18 13:33:49 +08:00
shaohuzhang1 fb4880f3f4
fix: redis db (#3291)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-18 12:24:26 +08:00
shaohuzhang1 5e9a7583a3
fix: ui 404 (#3290) 2025-06-18 12:14:40 +08:00
shaohuzhang1 a08dd98ffb
fix: permission (#3289) 2025-06-18 11:26:21 +08:00
CaptainB fbc37edf3c fix: include workspace_id in batch save for document processing
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-17 20:20:35 +08:00
shaohuzhang1 d0ba49456f
fix: chat user token (#3284) 2025-06-17 20:08:39 +08:00
CaptainB 62d0089c9e fix: change HTTP methods from GET to PUT for document synchronization endpoints 2025-06-17 19:00:30 +08:00
CaptainB 0d36704f63 fix: correct position parameter usage in adjust_position method 2025-06-17 18:31:11 +08:00
CaptainB 9221c7c93a fix: remove default model reference from embedding_model and add export paths for templates 2025-06-17 17:20:00 +08:00
shaohuzhang1 a93d7ca6d7
feat: chat captcha (#3279) 2025-06-17 15:01:59 +08:00
CaptainB 9ab90a7b21 fix: update ToolCreateRequest to ToolEditRequest for validation in edit method 2025-06-17 15:00:41 +08:00
shaohuzhang1 695773df7d
fix: user role (#3278) 2025-06-17 14:47:17 +08:00
CaptainB 3c39c508cf fix: set paragraph positions based on maximum existing position 2025-06-17 14:21:11 +08:00
CaptainB 93daee5bc7 fix: remove required label from workspace_id in Pylint serializer 2025-06-17 14:07:56 +08:00
CaptainB 119f678224 fix: update paragraph ordering and adjust position during bulk creation 2025-06-17 13:23:34 +08:00
shaohuzhang1 00e486c3fe
feat: chat message ui (#3275)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-17 11:58:35 +08:00
wxg0103 863e08120a refactor: model 2025-06-16 21:04:46 +08:00
wxg0103 63eefa3ffa refactor: model 2025-06-16 20:46:04 +08:00
CaptainB 77a824235f fix: correct embedding_model_id references in SQL and Vue files 2025-06-16 20:16:23 +08:00
CaptainB 8e93e1ea2e fix: handle None source_file_id in link_file method 2025-06-16 16:57:10 +08:00
wxg0103 f773792424 refactor: log add workspace_id 2025-06-16 16:31:28 +08:00
shaohuzhang1 60b3bcdd64
feat: operate log workspace (#3266) 2025-06-16 16:28:07 +08:00
wxg0103 d8ca74a2f5 refactor: xpack license 2025-06-16 15:08:33 +08:00
shaohuzhang1 1ea78ea0c7
fix: role authentication (#3263) 2025-06-16 14:05:08 +08:00
CaptainB 8fd4541d67 fix: add psutil dependency version 7.0.0 to pyproject.toml 2025-06-16 13:34:24 +08:00
CaptainB b8f80931d2 fix: update default folder reference from 'root' to 'default' in multiple models 2025-06-16 12:59:51 +08:00
CaptainB cbcad3cc83 fix: update default folder reference from 'root' to 'default' in multiple models
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-16 11:42:28 +08:00
CaptainB 7aa0b10f93 fix: update Dockerfile to use 'build-only' command for UI build process 2025-06-16 11:33:20 +08:00
shaohuzhang1 719ad9c9c1
Update django.po
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-13 23:57:51 +08:00
wxg0103 f4efdca5ed refactor: permission 2025-06-13 18:36:01 +08:00
CaptainB 43087e7ca3 feat: add compilation and installation scripts for MaxKB project 2025-06-13 17:58:52 +08:00
shaohuzhang1 b6fb059512
feat: web ui (#3257) 2025-06-13 17:35:25 +08:00
shaohuzhang1 9558e4053d
feat chat ui (#3253) 2025-06-13 16:17:02 +08:00
shaohuzhang1 f7349d2b3d
feat local model config (#3252) 2025-06-13 15:31:51 +08:00
shaohuzhang1 466175fb19
perf: workflow chat (#3247) 2025-06-13 12:01:08 +08:00
CaptainB 54578eff33 fix: update logging messages to reflect new MaxKB branding 2025-06-13 11:18:39 +08:00
shaohuzhang1 bf630b9d07
feat: workflow application debug chat (#3245) 2025-06-12 21:10:10 +08:00
shaohuzhang1 c7e30bb098
feat: simple application debug chat (#3244) 2025-06-12 20:07:31 +08:00
wxg0103 02e7cacb10 refactor: user reset password 2025-06-12 19:16:30 +08:00
CaptainB 156b490f1a fix: add workspace_id to knowledge retrieval 2025-06-12 18:22:00 +08:00
CaptainB 42c6157404 fix: add workspace_id to knowledge retrieval 2025-06-12 18:09:08 +08:00
CaptainB dad309193a fix: add workspace_id to knowledge retrieval 2025-06-12 18:06:28 +08:00
CaptainB a3e2e8b548 fix: change workspace_id field type from UUIDField to CharField in serializers 2025-06-12 17:47:41 +08:00
CaptainB 10cbfcf795 fix: change workspace_id field type from UUIDField to CharField in document serializer 2025-06-12 17:46:12 +08:00
shaohuzhang1 14ae7864aa
fix: resource permission auth (#3243) 2025-06-12 17:10:33 +08:00
CaptainB bba9e62d43 fix: add migrations for altering workspace_id and creating ModelWorkspaceAuthorization 2025-06-12 16:32:40 +08:00
CaptainB 9a7281212d fix: update image URL paths to use OSS endpoints 2025-06-12 15:49:54 +08:00
shaohuzhang1 e5e993986c
feat: application chat debug (#3241) 2025-06-12 15:21:59 +08:00
CaptainB 31838f8099 fix: update embedding_mode_id to embedding_model_id across multiple files 2025-06-12 15:12:26 +08:00
CaptainB 64d5217dc9 fix: update folder_id retrieval to use workspace_id from localStorage 2025-06-12 14:29:00 +08:00
CaptainB 3f5180d54d fix: remove default value for folder_id and use workspace_id instead 2025-06-12 11:52:46 +08:00
wxg0103 6ad9682465 refactor: add switch language 2025-06-12 11:25:19 +08:00
wxg0103 e0d08ac590 refactor: add switch language 2025-06-12 11:25:07 +08:00
CaptainB e81a7962b8 fix: add scope field to knowledge serializers and update related SQL queries
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-11 20:35:25 +08:00
CaptainB ace03e5b5a fix: enhance knowledge retrieval logic with dynamic SQL selection based on workspace management 2025-06-11 20:07:33 +08:00
CaptainB 0695b281d8 fix: enhance knowledge retrieval logic with dynamic SQL selection based on workspace management 2025-06-11 20:06:13 +08:00
wxg0103 16482af519 refactor: chat user add login auth 2025-06-11 19:36:35 +08:00
wxg0103 6c342e02f0 refactor: add all user list 2025-06-11 18:29:26 +08:00
CaptainB ba0dcf6b1b feat: enhance permission checks by incorporating role constants for workspace management 2025-06-11 17:00:14 +08:00
wxg0103 874dd34cba refactor: user add log 2025-06-11 16:40:09 +08:00
shaohuzhang1 59d78679b0
feat: application add workspace manage role (#3235)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-11 15:21:01 +08:00
CaptainB c758059fe4 feat: add migration to insert default data for ToolFolder and KnowledgeFolder 2025-06-11 15:07:38 +08:00
CaptainB 9877c825bc fix: update check_depth function to include workspace_id for folder hierarchy validation 2025-06-11 14:58:08 +08:00
CaptainB b63bd8bbea fix: update check_depth function to include workspace_id for folder hierarchy validation 2025-06-11 14:56:49 +08:00
wxg0103 fa818fc6e8 refactor: workspace add user member 2025-06-11 14:27:06 +08:00
wxg0103 7ca61274f2 refactor: workspace add user member 2025-06-11 14:15:49 +08:00
shaohuzhang1 f5baae4117
fix: application page (#3233) 2025-06-11 12:21:13 +08:00
wxg0103 c07fd323bf refactor: workspace add user member 2025-06-11 11:35:47 +08:00
wxg0103 bec1cbd000 refactor: workspace add user member 2025-06-11 11:25:26 +08:00
CaptainB 840fa68b98 fix: rename parameter in put method for clarity 2025-06-11 10:35:13 +08:00
shaohuzhang1 e0bfe0cd73
fix: Modify openAPI description (#3231)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-10 21:03:50 +08:00
shaohuzhang1 87ab2178bf
feat: application chat log (#3230) 2025-06-10 20:35:20 +08:00
wxg0103 cfafc3f0ba refactor: cache 2025-06-10 19:50:33 +08:00
wxg0103 e6e3acdfea refactor: log add workspace_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-10 14:50:25 +08:00
CaptainB 982604d39a fix: change order of query results to ascending by creation time 2025-06-10 13:03:50 +08:00
wxg0103 bc91e94079 refactor: add shared model 2025-06-10 11:30:15 +08:00
wxg0103 3233058146 refactor: permission 2025-06-10 11:29:30 +08:00
shaohuzhang1 5f19924f9f
perf: model manage (#3226) 2025-06-09 21:09:51 +08:00
shaohuzhang1 6a0a57e785
feat: application stats (#3225) 2025-06-09 21:08:04 +08:00
shaohuzhang1 e8886d5c65
feat: application api key (#3224) 2025-06-09 20:25:58 +08:00
CaptainB 56dc0c89de feat: alter document and paragraph status fields and update foreign key constraints 2025-06-09 19:12:52 +08:00
wxg0103 68201d3f87 refactor: model 2025-06-09 19:08:50 +08:00
CaptainB 42509f46ab feat: update permission constants and views for system knowledge management 2025-06-09 18:59:13 +08:00
CaptainB 9ccb501a90 feat: update permission constants and views for system knowledge management 2025-06-09 18:42:21 +08:00
shaohuzhang1 5da47a140d
feat: Access restrictions (#3222) 2025-06-09 18:40:56 +08:00
CaptainB fff46e5c28 feat: add workspace_id field to Create serializer in paragraph.py 2025-06-09 17:56:24 +08:00
CaptainB f1e19a1ace feat: add resource management module with CRUD operations and permissions 2025-06-09 17:56:24 +08:00
CaptainB 2b097e5c97 feat: update problem serializers to use ListField for batch requests 2025-06-09 17:38:08 +08:00
shaohuzhang1 c83bce3cef
fix: anonymous authentication (#3216) 2025-06-09 16:57:04 +08:00
wxg0103 6e0e0d2366 refactor: model api 2025-06-09 16:32:29 +08:00
shaohuzhang1 66c868e71f
fix: anonymous authentication (#3214) 2025-06-09 16:25:18 +08:00
shaohuzhang1 3807cf1960
feat: application chat (#3213) 2025-06-09 16:18:43 +08:00
wxg0103 5f10b70e24 refactor: tools add default workspace_id 2025-06-09 15:26:21 +08:00
wxg0103 07caf1ffa5 refactor: add share model 2025-06-09 15:10:13 +08:00
wxg0103 c0eac6d97c refactor: model 2025-06-09 14:28:17 +08:00
wxg0103 515e8555aa refactor: cache
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-09 11:16:50 +08:00
wxg0103 980a27bb74 refactor: add logout
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-07 19:05:27 +08:00
wxg0103 8d40004c67 refactor: add logout 2025-06-07 19:03:18 +08:00
wxg0103 b8b14884bd refactor: add application settings 2025-06-07 17:57:11 +08:00
shaohuzhang1 7d898d870c
feat: add application migrations (#3208)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-06 22:59:00 +08:00
shaohuzhang1 b2b5c331fa
fix: setup error (#3207) 2025-06-06 22:32:17 +08:00
shaohuzhang1 165de1ad73
feat: chat authentication (#3206) 2025-06-06 22:28:21 +08:00
CaptainB 7abd9dfb71 refactor: improve code formatting and enhance folder_id handling in knowledge serializers
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-06 18:54:59 +08:00
wxg0103 c3c6a551ae refactor: application add chat_background 2025-06-06 18:26:51 +08:00
CaptainB 2fccb9db67 feat: add shared document and paragraph views with related permissions 2025-06-06 17:55:06 +08:00
wxg0103 66d4b6c81a refactor: application add show_exec 2025-06-06 17:17:52 +08:00
wxg0103 8ab4456ec3 refactor: permission 2025-06-06 17:05:25 +08:00
CaptainB 16dc78d5a4 feat: implement pagination and deletion for shared knowledge API 2025-06-06 15:45:21 +08:00
CaptainB c0ea174275 feat: implement pagination and deletion for shared knowledge API 2025-06-06 15:42:02 +08:00
wxg0103 927b12a5ca refactor: delete dbmodelManage 2025-06-06 15:18:28 +08:00
CaptainB 643200cc06 feat: add scope field to knowledge creation serializers and update related views 2025-06-06 15:13:17 +08:00
CaptainB a2cc83ec31 style: format URL paths for consistency in spacing 2025-06-06 14:43:40 +08:00
CaptainB fd441b6986 feat: add file_size_limit and file_count_limit to list_knowledge.sql 2025-06-06 13:14:33 +08:00
wxg0103 4d76f08b14 refactor: file to oss 2025-06-06 12:31:41 +08:00
CaptainB 448bbb3aae feat: rename CELERY_ACKS_LATE to CELERY_TASK_ACKS_LATE for consistency 2025-06-06 12:30:39 +08:00
CaptainB fc11fcf0e1 feat: add file_count_limit to knowledge model and create KnowledgeWorkspaceAuthorization model 2025-06-06 12:04:02 +08:00
wxg0103 b17cf3fea8 refactor: file to oss 2025-06-06 12:03:25 +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
zhangzhanwei 6f2f4d93bb feat: Locations 2025-06-06 10:46:16 +08:00
CaptainB 8f98b7188d feat: add INTERNAL scope to tools and update related SQL queries 2025-06-05 20:22:39 +08:00
wxg0103 0cb33dad5a feat: ui add system settings 2025-06-05 19:47:47 +08:00
wxg0103 40df595173 refactor: model
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-05 18:39:35 +08:00
wxg0103 d05d82106e refactor: model 2025-06-05 18:37:51 +08:00
CaptainB fee5993c22 feat: add SQL query for embedding text and update model API routes to remove workspace_id 2025-06-05 18:35:31 +08:00
CaptainB 269960649d feat: add gunicorn and python-daemon dependencies to pyproject.toml 2025-06-05 17:56:42 +08:00
CaptainB a4b6570110 feat: rename tool_type to scope and update related query parameters for tool filtering 2025-06-05 16:27:54 +08:00
zhangzhanwei e63572b89b feat: System operate log 2025-06-05 14:12:14 +08:00
CaptainB 5cb7fc8d9a feat: refactor shared tool API to utilize ToolSerializer for create, update, and import operations 2025-06-05 11:12:17 +08:00
CaptainB f5bc003aaf feat: update knowledge permissions to include resource permission groups for various operations
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-05 10:37:55 +08:00
CaptainB 7998133e35 feat: update permission constants for knowledge documents and problems to include resource permission groups 2025-06-05 10:31:29 +08:00
CaptainB 0ca2c72e52 feat: update permission check to use workspace permission for knowledge read operations 2025-06-05 10:17:04 +08:00
CaptainB 6cb3ae74d9 feat: update permission checks to use workspace knowledge permissions for document and knowledge operations 2025-06-05 10:12:59 +08:00
wxg0103 74ce98c39b refactor: gemini 2025-06-05 09:12:38 +08:00
CaptainB 26f84338d6 feat: update folder serializer to remove allow_null and allow_blank from workspace_id and parent_id 2025-06-04 20:34:07 +08:00
shaohuzhang1 1641039fd2
feat: application version (#3194) 2025-06-04 20:14:52 +08:00
CaptainB 8b9e03d7cf feat: update knowledge retrieval logic and optimize SQL queries for application listing 2025-06-04 19:39:21 +08:00
CaptainB 40137f147b feat: enhance init_params handling with encryption and decryption for tools and shared tools 2025-06-04 19:15:33 +08:00
CaptainB 64e26dd2cc feat: change icon edit method from POST to PUT for tools and shared tools 2025-06-04 19:05:19 +08:00
CaptainB fd2b1245b8 feat: add debug and edit icon functionalities for tools and shared tools 2025-06-04 18:52:24 +08:00
CaptainB c775f2a57f feat: add edit icon functionality for tools and shared tools 2025-06-04 18:48:20 +08:00
CaptainB 578fb34361 feat: add import, export, and debug functionalities for shared tools 2025-06-04 18:36:36 +08:00
CaptainB 7a34ba6fe3 feat: add shared resource tool functionality 2025-06-04 17:19:23 +08:00
wxg0103 824e02521c refactor: permission 2025-06-04 17:18:04 +08:00
shaohuzhang1 445a87143b
feat: system profile (#3193) 2025-06-04 17:16:35 +08:00
CaptainB fb6314cd69 feat: implement file download functionality in document handler 2025-06-04 14:25:01 +08:00
shaohuzhang1 faeee1b92c
feat: log management (#3189) 2025-06-04 14:23:10 +08:00
shaohuzhang1 d92fdb999c
feat: use redis cache (#3185) 2025-06-04 14:21:12 +08:00
shaohuzhang1 bc03deabfc
feat: Resources authorization (#3183) 2025-06-04 13:05:39 +08:00
zhangzhanwei 596dbedd39 fix: Fix Swagger document image upload 2025-06-04 12:01:12 +08:00
CaptainB d686bc3625 feat: refactor pylint handling and update endpoint for workspace tool 2025-06-04 11:09:58 +08:00
CaptainB e525f77fa0 feat: refactor pylint handling and update endpoint for workspace tool 2025-06-04 11:08:05 +08:00
CaptainB 56a9e69912 feat: add endpoint to download source files with updated parameter handling 2025-06-04 10:57:32 +08:00
wxg0103 642920e916 refactor: permission 2025-06-04 10:17:17 +08:00
CaptainB 852313217d feat: add migration endpoints for documents and paragraphs with parameter handling 2025-06-03 18:43:41 +08:00
wxg0103 070a5d4ed3 refactor: user add batch delete 2025-06-03 18:35:42 +08:00
CaptainB efd273b3bc feat: add export and export_zip endpoints for knowledge base and document with image handling 2025-06-03 17:44:13 +08:00
wxg0103 4de998dee2 refactor: user nick_name 2025-06-03 16:48:14 +08:00
CaptainB aa593f3790 feat: refactor user_id handling and enhance tool query logic 2025-06-03 16:31:07 +08:00
CaptainB a8a19f357a feat: add endpoint to retrieve embedding model for knowledge base 2025-06-03 16:31:07 +08:00
wxg0103 11ce2e26b5 refactor: permission 2025-06-03 15:54:48 +08:00
CaptainB 15eea403ec feat: remove user_id permission check for embedding model in knowledge processing 2025-06-03 11:24:08 +08:00
CaptainB 787da980b8 feat: rename embedding_mode_id to embedding_model_id across multiple files 2025-06-03 11:20:53 +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
wxg0103 b1a6c463d0 refactor: user page add role 2025-05-30 11:07:24 +08:00
zhangzhanwei 1dadc06220 feat: System api permission setting 2025-05-29 18:49:00 +08:00
shaohuzhang1 345e588ef6
feat: application list (#3160) 2025-05-28 18:57:09 +08:00
wxg0103 743b04aebf refactor: user role 2025-05-28 17:45:02 +08:00
shaohuzhang1 129d52dff2
fix: common (#3154)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-28 10:13:47 +08:00
shaohuzhang1 896fb5fa52
feat: application flow (#3152) 2025-05-27 18:24:28 +08:00
wxg0103 0c9d8ccf71 refactor: add login auth permission 2025-05-27 16:17:56 +08:00
shaohuzhang1 6bbb181927
feat: application save (#3151) 2025-05-27 15:21:57 +08:00
wxg0103 30a60c9ab8 refactor: sql 2025-05-27 14:44:57 +08:00
shaohuzhang1 080a6031bd
feat: application save (#3150)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-27 11:08:55 +08:00
shaohuzhang1 60ff19be17
feat: Application Apikey (#3149)
Co-authored-by: zhangzhanwei <zhanwei.zhang@fit2cloud.com>
2025-05-27 10:41:05 +08:00
wxg0103 ba79dd8582 refactor: user add role setting 2025-05-27 09:47:33 +08:00
shaohuzhang1 41dd3c4f3d
feat: application view init (#3147) 2025-05-26 18:39:53 +08:00
wxg0103 356dbeb2b9 refactor: i18n 2025-05-26 16:46:05 +08:00
shaohuzhang1 9e7279e336
feat: application model (#3146) 2025-05-26 16:37:35 +08:00
wxg0103 b7843fd2bf refactor: user add role 2025-05-26 16:12:08 +08:00
shaohuzhang1 1aa8fe28ef
feat: delete workflow (#3145) 2025-05-26 16:01:43 +08:00
wxg0103 c0b676ed16 refactor: permission 2025-05-23 18:08:25 +08:00
wxg0103 2da3eac1b5 refactor: user model 2025-05-23 18:07:23 +08:00
wxg0103 9dc06909bd refactor: login captcha 2025-05-22 15:42:12 +08:00
wxg0103 abadff25e5 refactor: login captcha
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-21 10:35:17 +08:00
wxg0103 3c5b38dc44 refactor: list
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-20 17:14:12 +08:00
wxg0103 f2b0af25da refactor: permission constants
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-19 16:30:31 +08:00
wxg0103 f618dd4f99 refactor: permission constants 2025-05-19 14:26:45 +08:00
wxg0103 0a1d5c4fbf refactor: permission constants
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-16 18:23:27 +08:00
CaptainB aa7bc349ab feat: add request handling to UnAssociation and Association API endpoints 2025-05-15 13:48:26 +08:00
wxg0103 8fb8c06e0b refactor: user 2025-05-15 12:07:07 +08:00
CaptainB e24f211674 feat: add optional user_id parameter to tool queries and serializers 2025-05-15 11:04:54 +08:00
CaptainB 74fac81c7b feat: enhance knowledge pagination to include child folders in response 2025-05-15 10:49:47 +08:00
CaptainB 7780d89c55 feat: add pagination method for tools with folder data in tool.py 2025-05-15 10:40:29 +08:00
CaptainB b13799d584 feat: add Pylint API for code checking and integrate with tool operations 2025-05-14 14:35:13 +08:00
CaptainB d85d20694d fix: include desc field in editable fields for folder validation
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-14 12:12:16 +08:00
CaptainB 25da46d13f fix: make desc field optional in KnowledgeFolder and ToolFolder models 2025-05-14 11:31:54 +08:00
CaptainB 6b41d8cff1 chore: remove unused CompareConstants import from document.py 2025-05-14 10:12:52 +08:00
wxg0103 4eed42b6a0 refactor: user add default password
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-13 14:39:47 +08:00
CaptainB c3581be9bd fix: rename image_name to file_name in zip_split_handle and remove workspace_id assignment in document 2025-05-13 12:47:59 +08:00
CaptainB bd71ca9eb4 fix: update is_valid method to use dynamic file size limit from Knowledge model 2025-05-13 11:50:08 +08:00
CaptainB d24532d679 fix: update is_valid method to accept instance parameter for file validation 2025-05-13 11:28:15 +08:00
CaptainB 554b81b59a fix: update has_permissions decorator formatting for knowledge document endpoints 2025-05-13 11:22:06 +08:00
CaptainB 680475cb97 feat: add new permission constants for knowledge documents, paragraphs, and problems 2025-05-13 10:58:56 +08:00
CaptainB 5ca3151e90 fix: update permission constants for document operations and adjust serializer field options 2025-05-12 18:34:15 +08:00
CaptainB f21d301140 fix: change HTTP methods from PUT to GET for association and unassociation endpoints 2025-05-12 17:13:57 +08:00
CaptainB 6f81d80389 fix: change HTTP methods from GET to PUT for disassociation and related questions endpoints 2025-05-12 16:24:01 +08:00
CaptainB a5fb2e15c6 feat: add initial SQL migration for tool data and integrate file content retrieval 2025-05-12 11:22:12 +08:00
CaptainB cb2fb496b4 fix: update ForeignKey on_delete behavior for ApplicationKnowledgeMapping 2025-05-12 10:30:13 +08:00
shaohuzhang1 5ebfe9b5dd
feat: workflow init (#3072)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-09 18:55:53 +08:00
CaptainB f6ccc95240 feat: implement source type retrieval and enhance folder deletion logic 2025-05-09 18:31:08 +08:00
CaptainB 1f8907e1cb feat: add GetModelAPI for retrieving model information in knowledge base 2025-05-09 17:50:15 +08:00
CaptainB 1e80a6136a chore: i18n 2025-05-09 17:20:31 +08:00
wxg0103 deb7268be1 refactor: i18n 2025-05-09 14:37:14 +08:00
CaptainB 40d9954c3b chore: i18n 2025-05-09 11:49:07 +08:00
CaptainB 94c5c4197c fix: add type ignore comments for operation_id and tags in various API schemas 2025-05-09 11:29:05 +08:00
CaptainB 6f209d740d feat: add request and response handling for SyncWeb, Embedding, and GenerateRelated APIs 2025-05-09 10:56:11 +08:00
CaptainB a75501737f feat: add BatchGenerateRelated API for batch processing of related paragraphs 2025-05-08 19:28:58 +08:00
CaptainB ac698e0c4c feat: add BatchRefresh and BatchGenerateRelated APIs for document processing 2025-05-08 19:16:45 +08:00
CaptainB 54836d549c feat: add Embedding API for re-vectorization of knowledge objects 2025-05-08 17:17:09 +08:00
CaptainB b6f5a8378a feat: add HitTest API for knowledge base query testing and update SyncWeb API to use knowledge_id 2025-05-08 16:49:12 +08:00
CaptainB 7dcd1a71e8 feat: add SyncWeb and GenerateRelated APIs for knowledge base synchronization and related generation 2025-05-08 16:49:12 +08:00
CaptainB 9f004defd9 feat: add SHA256 hash attribute to knowledge object on save
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-08 12:34:51 +08:00
CaptainB ab479c422c feat: add delete method to File API for file removal 2025-05-08 12:15:00 +08:00
CaptainB 4d44637ae5 feat: add file size attribute to knowledge object on save 2025-05-08 11:31:16 +08:00
CaptainB 4b30b5b1b5 fix: correct tag casing in File API documentation 2025-05-08 10:55:26 +08:00
wxg0103 0401c01c93 refactor: user add role setting 2025-05-08 10:51:01 +08:00
CaptainB 3010fa835f feat: implement File API for file upload and retrieval with new endpoints 2025-05-08 10:42:00 +08:00
CaptainB 06d5c10ac6 chore: reformat code 2025-05-08 10:00:58 +08:00
CaptainB 906407a15b feat: update Problem API to batch process request data in post method
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-07 18:51:26 +08:00
wxg0103 a90f6c89cb refactor: email setting 2025-05-07 18:09:45 +08:00
CaptainB a09d0d5171 feat: add ProblemParagraphAPI for retrieving associated paragraphs and update routing 2025-05-07 17:37:34 +08:00
CaptainB 6cdd5b4508 feat: implement Problem API for delete and modify operations with new Operate endpoint 2025-05-07 17:17:41 +08:00
CaptainB a6c74024b0 feat: implement pagination support for Problem API with new Page endpoint 2025-05-07 17:06:27 +08:00
CaptainB 4995721399 feat: implement Problem API for CRUD operations and batch processing 2025-05-07 16:28:56 +08:00
CaptainB ecc25796a6 feat: update document and paragraph batch operations to use PUT method and rename classes for clarity 2025-05-07 14:49:32 +08:00
CaptainB a04c2efa41 feat: add pagination support for paragraph retrieval in Paragraph API 2025-05-07 14:06:27 +08:00
CaptainB 36da813eea feat: implement Paragraph API for CRUD operations and batch deletion 2025-05-07 13:53:04 +08:00
CaptainB 10105ce5ab feat: implement Paragraph API for CRUD operations and batch deletion 2025-05-07 13:51:20 +08:00
CaptainB bcc7c1acf1 refactor: add noqa comments to suppress linting warnings for folder type retrieval 2025-05-07 12:03:00 +08:00
shaohuzhang1 bcf6ccee20
refactor: File model (#3050)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-07 11:45:00 +08:00
CaptainB 442dd209a5 feat: add KnowledgeFolderFlatSerializer for flat folder representation in Knowledge API 2025-05-07 10:30:56 +08:00
CaptainB 1448927f4e feat: add ToolFolderFlatSerializer for flat folder serialization in Tool API 2025-05-07 10:29:23 +08:00
CaptainB 4cb513dd3f feat: enhance Tool API to return folder and tool structure for a given folder ID 2025-05-07 10:05:53 +08:00
shaohuzhang1 115e11052c
feat: Resources authorization (#3039) 2025-05-06 18:35:11 +08:00
CaptainB bd865ceafc feat: add DocumentSplitPatternAPI for segment ID retrieval with workspace and knowledge ID parameters 2025-05-06 17:56:49 +08:00
CaptainB 6f5645e16c feat: add DocumentTreeReadAPI for document pagination and file size limit to knowledge model 2025-05-06 17:39:26 +08:00
CaptainB c3b979decc feat: add CancelTaskAPI and batch cancellation endpoints for document tasks 2025-05-06 16:47:59 +08:00
CaptainB e702af8c2b feat: enhance Document API with workspace ID support for get, put, and delete operations 2025-05-06 15:24:36 +08:00
wxg0103 3e9069aac1 refactor: bailian 2025-05-06 15:03:31 +08:00
CaptainB 0e66b8a186 feat: add summary fields to extend_schema for folder and document APIs 2025-05-06 13:55:14 +08:00
CaptainB 24e734fb36 feat: enhance Document API with create and query functionalities 2025-05-06 13:55:14 +08:00
CaptainB ba5028858c feat: add DocumentBatchCreateAPI for batch document creation
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-05-05 17:50:13 +08:00
CaptainB 0d3eb431f6 feat: implement batch processing for document creation, synchronization, and deletion
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-04-30 18:04:40 +08:00
CaptainB 43bef216d5 refactor: reorganize file handling imports into a structured directory 2025-04-30 16:08:17 +08:00
CaptainB 48297d81e5 feat: add initial implementations of various file handling classes for CSV, XLS, and XLSX formats 2025-04-30 15:52:58 +08:00
CaptainB 4dcd150c8d refactor: improve code readability and formatting in common, knowledge, and paragraph modules 2025-04-30 09:57:11 +08:00
wxg0103 132fd1b84d refactor: i18n
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-29 15:45:47 +08:00
CaptainB 3b5a02307c refactor: celery config 2025-04-29 11:48:15 +08:00
CaptainB 870fabe187 chore: add init file for every folder 2025-04-29 10:31:49 +08:00
CaptainB 770089e432 feat: add initial implementation of document and paragraph models with serializers 2025-04-29 10:04:34 +08:00
CaptainB 8c362b0f99 feat: update translation strings and add new error messages in django.po 2025-04-28 18:41:41 +08:00
wxg0103 06f834b7e3 feat: user manage 2025-04-28 17:36:56 +08:00
shaohuzhang1 5481b8a2aa feat: auth 2025-04-28 14:41:46 +08:00
shaohuzhang1 118db9dd14
fix: authentication errors (#3012) 2025-04-28 13:03:54 +08:00
CaptainB 0df7c7247d feat: implement web knowledge synchronization with ForkManage and related handlers 2025-04-28 11:53:38 +08:00
CaptainB ee37d7c320 feat: implement web knowledge synchronization with ForkManage and related handlers 2025-04-28 11:27:59 +08:00
shaohuzhang1 c79479d80b
feat: User profile returns permission role information (#3005)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-04-27 18:27:35 +08:00
shaohuzhang1 7bda26d92a
feat: Improve workspace resource authorization (#3004) 2025-04-27 18:14:50 +08:00
wxg0103 7aa294db38 feat: support create user 2025-04-27 17:59:47 +08:00
CaptainB 1e86919882 feat: remove KnowledgeLarkCreateAPI and KnowledgeLarkView classes 2025-04-27 17:43:20 +08:00
CaptainB 3e7bc1dae0 feat: remove KnowledgeYuque and KnowledgeLark classes 2025-04-27 17:39:22 +08:00
wxg0103 bca128ec39 feat: support create user 2025-04-27 16:26:40 +08:00
CaptainB b1d13f501f feat: reduce module depth limit from 3 to 2 2025-04-27 10:46:34 +08:00
CaptainB bb4b35bfe8 feat: enhance module depth validation with current depth tracking 2025-04-27 10:42:18 +08:00
CaptainB f7a4aca0e8 feat: implement knowledge creation APIs for base, web, lark, and yuque 2025-04-25 20:31:59 +08:00
CaptainB 724686762e feat: add knowledge management API and permissions 2025-04-25 18:18:47 +08:00
wxg0103 83ace97ecc refactor: model 2025-04-25 18:12:55 +08:00
wxg0103 7f492b4d92 refactor: openai 2025-04-25 17:53:22 +08:00
CaptainB 57c6c9916e feat: implement module depth validation and refactor check_depth method 2025-04-25 15:37:44 +08:00
CaptainB fdb7aeb47b feat: implement module depth validation and refactor check_depth method 2025-04-25 15:36:27 +08:00
CaptainB 3205ff2a65 feat: add knowledge management
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-04-25 14:58:22 +08:00
CaptainB ec643fca7f feat: add initial model structure for knowledge management 2025-04-25 14:06:23 +08:00
CaptainB f08b551a72 chore: fix typo. 2025-04-25 13:32:26 +08:00
wxg0103 ff41b1ff6e refactor: tokens 2025-04-25 10:17:50 +08:00
CaptainB f05a4a67c5 feat: refactor response serializers for model parameters and lists
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-24 13:42:58 +08:00
CaptainB 4c38e8a82b feat: add dynamic SQL execution and pagination functionality with custom query compiler 2025-04-24 11:37:11 +08:00
CaptainB fbb4e7d449 feat: add __init__.py file to initialize the package 2025-04-24 11:10:58 +08:00
CaptainB 21097d7164 feat: add depth validation for module creation to limit hierarchy to 3 levels 2025-04-24 10:49:07 +08:00
CaptainB 91f16aa394 feat: add ToolEditRequest serializer for editing tool properties
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-23 11:34:19 +08:00
CaptainB a9d962c1f1 feat: implement RestrictedUnpickler for secure deserialization and enhance import functionality 2025-04-23 10:33:26 +08:00
wxg0103 cc0e431605 refactor: remove image params
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-22 18:22:50 +08:00
CaptainB 11331a60e0 feat: enhance Tool API by adding module_id and tool_type parameters, and refactor query handling
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-22 17:53:47 +08:00
CaptainB bbd7079166 feat: add import and export endpoints to ToolView for workspace tools 2025-04-22 17:06:39 +08:00
wxg0103 55705593a9 feat: remove qwen 2025-04-22 14:35:09 +08:00
wxg0103 6d4f5dc1c3 feat: add model setting 2025-04-22 10:45:11 +08:00
CaptainB 220168c4bf chore: add some i18n code 2025-04-21 13:23:22 +08:00
CaptainB a8cda7d4a4 feat: consolidate module and tool views by removing redundant classes and updating API endpoints 2025-04-21 10:59:42 +08:00
wxg0103 39841cb344 feat: add model setting 2025-04-21 10:24:13 +08:00
wxg0103 d3346deb62 feat: add model setting 2025-04-21 09:10:25 +08:00
CaptainB 16cafec6af fix: update module and tool URLs to avoid duplicate paths for ModuleTreeView and ToolTreeView
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-04-18 21:16:31 +08:00
CaptainB 2c0cb5b6e6 feat: update module and tool delete APIs to use DefaultResultSerializer for responses 2025-04-18 19:11:26 +08:00
CaptainB 7c15082e53 feat: update API documentation to specify retrieval of tool by module 2025-04-18 19:05:53 +08:00
CaptainB 83b494f700 feat: add DefaultResultSerializer to module and tool delete operations responses 2025-04-18 18:58:49 +08:00
CaptainB fe032822f4 feat: add ToolTreeView and ToolTreeReadAPI for retrieving tools by workspace and module 2025-04-18 17:54:06 +08:00
wxg0103 6f6b163416 feat: add model setting 2025-04-18 17:45:15 +08:00
CaptainB 9b0f9b04b7 refactor: remove tool_type field and update imports in tool model
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-18 17:08:59 +08:00
CaptainB 0b8f5d7597 feat: implement CRUD operations for tools with API views 2025-04-18 16:42:46 +08:00
CaptainB 32111f6a8f fix: improve module tree query to use Q object for filtering by workspace_id 2025-04-18 15:17:04 +08:00
CaptainB 8f0dd16949 fix: improve module tree query to use Q object for filtering by workspace_id 2025-04-18 15:01:34 +08:00
liqiang-fit2cloud ffe8900fb2 build: init directory. 2025-04-18 14:10:16 +08:00
CaptainB d49fd74305 feat: add ToolModule model and API for managing tool modules with workspace support 2025-04-18 13:33:29 +08:00
shaohuzhang1 dcb77bbe16
feat: Captcha (#2913)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-17 19:16:54 +08:00
wxg0103 063393d659 feat: add model setting 2025-04-17 18:05:31 +08:00
wxg0103 946de675ff feat: add model setting 2025-04-17 18:01:33 +08:00
shaohuzhang1 934871f5c6 feat:Use distcache 2025-04-17 17:16:45 +08:00
shaohuzhang1 9108971fdc
fix: Swagger warning(#2909)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-17 14:27:58 +08:00
CaptainB 4c23b9aded feat: implement Tool model and related API for Tool management 2025-04-17 14:11:57 +08:00
shaohuzhang1 342ef6df30 feat: authentication demo 2025-04-17 10:40:07 +08:00
shaohuzhang1 3351968969 feat: authentication demo 2025-04-17 10:35:02 +08:00
shaohuzhang1 5f902ef5de
feat: authentication (#2906)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-16 20:09:00 +08:00
CaptainB 342f984a3b feat: update UUID generation to use uuid.uuid7 and add uuid-utils dependency
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-16 15:02:37 +08:00
shaohuzhang1 04642eb497 feat: authentication
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-15 20:37:38 +08:00
CaptainB 5ffd3423ff feat: load environment variables from .env file and update config loading logic
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-04-15 15:09:26 +08:00
shaohuzhang1 e58a5507a9 init project 2025-04-14 20:11:23 +08:00
CaptainB c78a6babb6 ci: v2 2025-04-11 15:47:59 +08:00
wxg0103 a4f27249ed fix: openai error
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-04-10 14:41:05 +08:00
liqiang-fit2cloud 4ae02c8d3e security: fix reverse shell vulnerability in function library.
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-04-09 10:01:11 +08:00
shaohuzhang1 3557ea50fa
fix: Missing parameters such as character length when creating a knowledge base (#2827)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-04-08 17:24:33 +08:00
shaohuzhang1 1a704f1c25
fix: Workflow debugging for authorized applications will result in an error message indicating unauthorized access to the model (#2819) 2025-04-08 10:51:35 +08:00
wxg0103 7ca0a7bd02 fix: Missing fields in exported logs
--bug=1054500 --user=王孝刚 【应用】对话日志导出,没有携带用户信息 https://www.tapd.cn/57709429/s/1681984
2025-04-08 10:12:20 +08:00
shaohuzhang1 5e43bb9d2a
fix: jieba 分词使用全模式 (#2813) 2025-04-07 18:51:32 +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
wxg0103 add9d1bab8 fix: In the permission settings, the knowledge base list does not distinguish between knowledge base types, and all are marked with the icon of the general knowledge base.
--bug=1054142 --user=王孝刚 【团队成员】权限设置中,知识库列表没有区分知识库类型,都用通用知识库的图标标识 https://www.tapd.cn/57709429/s/1681104
2025-04-07 13:53:39 +08:00
shaohuzhang1 867c53984b
fix: The local rearrangement model cannot be loaded (#2805) 2025-04-07 11:22:01 +08:00
CaptainB 560890f717 fix: limit chapter title length to 256 characters in pdf_split_handle.py
--bug=1054363 --user=刘瑞斌 【知识库】导入PDF文档,分段标题长度超长时,没有自动截断 https://www.tapd.cn/57709429/s/1681044
2025-04-07 10:54:59 +08:00
CaptainB 675adeeb63 fix: exclude macOS specific files from zip processing
--bug=1054264 --user=刘瑞斌 【知识库】QA问答对模式,导入在mac上压缩的zip文件,会出现2个乱码文档 https://www.tapd.cn/57709429/s/1681034
2025-04-07 10:37:06 +08:00
shaohuzhang1 1eccb54199
fix: Knowledge base retrieval segmentation sorted by relevance (#2791) 2025-04-03 10:57:12 +08:00
shaohuzhang1 9d6451b95b
fix: The interface for obtaining model metadata cannot access public models (#2787)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-04-02 20:10:20 +08:00
shaohuzhang1 add1cba8cb
feat: Swagger document response for adding OpenAI interface (#2786) 2025-04-02 19:59:57 +08:00
shaohuzhang1 ac5a9d01a8
fix: When other users download the public model, they cannot obtain the download data (#2785) 2025-04-02 18:29:25 +08:00
CaptainB 7b213f547d fix: update default voice type and options in VolcanicEngineTTSModelGeneralParams 2025-04-02 18:25:06 +08:00
shaohuzhang1 15feca802a
fix: OpenAI Vector Model Using Openai Supplier (#2781) 2025-04-02 17:45:18 +08:00
wxg0103 2686e76c8a fix: xinference rerank error
--bug=1054256 --user=王孝刚 【模型】添加硅基流动的重排序模型失败 https://www.tapd.cn/57709429/s/1679612
2025-04-02 16:54:58 +08:00
CaptainB 27bc01d442 fix: skip macOS specific metadata directories and files in zip parsing
--bug=1054264 --user=刘瑞斌 【知识库】QA问答对模式,导入在mac上压缩的zip文件,会出现2个乱码文档 https://www.tapd.cn/57709429/s/1679674
2025-04-02 16:06:36 +08:00
wxg0103 44c1d35b1f fix: siliconCloud rerank error
--bug=1054256 --user=王孝刚 【模型】添加硅基流动的重排序模型失败 https://www.tapd.cn/57709429/s/1679612
2025-04-02 15:17:39 +08:00
wxg0103 6d7b5eb219 fix: Increase log output 2025-04-02 14:17:48 +08:00
shaohuzhang1 27d4603b02
fix: Embedding dialogue asker parameter does not take effect (#2773)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-04-02 14:00:28 +08:00
wxg0103 5b2baaf04d fix: i18n error
--bug=1054232 --user=王孝刚 系统设置:操作菜单中的操作在中文模式下显示英文 https://www.tapd.cn/57709429/s/1679409
2025-04-02 10:46:39 +08:00
shaohuzhang1 2991f0b640
perf: Optimize word segmentation retrieval (#2767) 2025-04-01 19:11:16 +08:00
wxg0103 6fde8ec80f fix: openai need streaming 2025-04-01 16:58:08 +08:00
shaohuzhang1 4b9cecd4d1
feat: Knowledge base generation problem (#2760)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-04-01 12:46:30 +08:00
shaohuzhang1 e7c3169898
feat: doc auth (#2752) 2025-03-31 19:02:56 +08:00
CaptainB 7afc1da0af fix: handle non-string message types in function_lib_serializer 2025-03-31 18:29:01 +08:00
wxg0103 6aa0e9b5e4 refactor: i18n
--bug=1054121 --user=王孝刚 操作日志:修改应用的访问限制在操作日志中显示为修改应用的access token https://www.tapd.cn/57709429/s/1678535
2025-03-31 17:35:41 +08:00
shaohuzhang1 9750c6d605
fix: garbled zip import file names (#2747) 2025-03-31 16:22:39 +08:00
wxg0103 a2b6620b10 refactor: azure llm params 2025-03-31 15:31:52 +08:00
shaohuzhang1 1566ae7fbe
fix: Application deleted, workflow page error reported (#2743) 2025-03-31 14:31:53 +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 cb104cc211 chore: fix typo
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-03-31 11:34:43 +08:00
shaohuzhang1 7a99c78840
fix: Processing for document export sheet with more than 32 characters (#2740) 2025-03-31 11:17:25 +08:00
shaohuzhang1 a07df46f9d
fix: Fix some knowledge base import errors (#2739) 2025-03-31 10:29:54 +08:00
CaptainB 54c4293482 fix: ensure init_field_list defaults to an empty list in function_lib_serializer
--bug=1054092 --user=刘瑞斌 【函数库】导入历史版本的函数失败 https://www.tapd.cn/57709429/s/1678044
2025-03-28 15:53:06 +08:00
CaptainB a799026d52 fix: ensure init_field_list defaults to an empty list in function_lib_serializer
--bug=1054092 --user=刘瑞斌 【函数库】导入历史版本的函数失败 https://www.tapd.cn/57709429/s/1678044
2025-03-28 15:51:48 +08:00
wxg0103 f69346f2bc refactor: i18n 2025-03-28 14:25:21 +08:00
shaohuzhang1 dcc80a4dca
fix: Every time a vectorized document is generated, the entire vectorized data of the document is deleted (#2721) 2025-03-28 14:15:48 +08:00
wxg0103 2fe4248785 refactor: qwq model 2025-03-28 14:05:33 +08:00
CaptainB 2b079a4144 fix: update function names and descriptions for clarity in function_lib 2025-03-28 11:52:20 +08:00
wxg0103 4ffec85e9b refactor: Optimization of operation menu
--bug=1054069 --user=王孝刚 【操作日志】-操作菜单优化建议 https://www.tapd.cn/57709429/s/1677900
2025-03-28 11:45:51 +08:00
wxg0103 d282795644 refactor: i18n
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-03-28 09:31:48 +08:00
wxg0103 5eee6bfb6c fix: Modify download template prompt
--bug=1054044 --user=王孝刚 【知识库】上传文档-QA问答对-下载Excel/CSV模版-显示问题答案最长不超过4096个字符,实际上可以导入超过4096个字符的数据 https://www.tapd.cn/57709429/s/1677605
2025-03-27 18:50:12 +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
wxg0103 c66f79ad5a refactor: log menu 2025-03-27 16:14:24 +08:00
wxg0103 f82ba3c4b8 fix: qwq-plus only supported stream 2025-03-27 10:18:58 +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 1e8e3a90aa fix: handle audio generation failure by raising an exception 2025-03-26 17:15:23 +08:00
shaohuzhang1 db772b1d1c
fix: Segmented filtering of paragraphs with empty parent title content (#2693)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-03-26 16:02:26 +08:00
shaohuzhang1 a0ee5c9441
fix: Audit log login did not record user (#2691) 2025-03-26 15:41:11 +08:00
wxg0103 b1aa1f7a53 refactor: i18n 2025-03-26 15:35:03 +08:00
wxg0103 a303f24974 refactor: i18n 2025-03-26 14:45:40 +08:00
CaptainB bd7dbb13f3 fix: update icon paths in function library to use correct UI directory structure 2025-03-26 14:09:20 +08:00
CaptainB d27e5a4c01 chore: fix warning 2025-03-26 13:35:29 +08:00
CaptainB a6703c9889 fix: update icon paths in function library to use correct directory structure 2025-03-26 13:35:29 +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 1b6b021226 fix: set is_active to False and update init_params handling in function_lib_serializer
--bug=1053923 --user=刘瑞斌 【函数库】创建函数后函数状态为启用,并非是禁用 https://www.tapd.cn/57709429/s/1676263

--bug=1053928 --user=刘瑞斌 【函数库】设置过启动参数的函数,删除启动参数,但实际依然有保留 https://www.tapd.cn/57709429/s/1676269
2025-03-26 10:55:35 +08:00
shaohuzhang1 55cdd0a708
fix: Zip with title cannot be parsed (#2683) 2025-03-26 10:31:31 +08:00
shaohuzhang1 f9d536f5a2
feat: Audit log add operation object (#2681)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-03-25 19:07:02 +08:00
CaptainB 83140b5f1d refactor: update label for API Key in input fields across function library
--bug=1053890 --user=刘瑞斌 【函数库】博查、Google、LangSearch查询函数的启动参数中,apikey建议改为 API Key https://www.tapd.cn/57709429/s/1675986
2025-03-25 17:34:15 +08:00
CaptainB f19316639e chore: fix typo.
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-03-25 15:26:23 +08:00
CaptainB 564e781ba2 chore: fix typo. 2025-03-25 15:25:31 +08:00
CaptainB 2f20868ca6 fix: handle empty message case in encryption function
--bug=1053881 --user=刘瑞斌 【函数库】-编辑函数,修改启动参数的必填选项后,保存函数报错 https://www.tapd.cn/57709429/s/1675682
2025-03-25 13:12:02 +08:00
CaptainB 64df9cf437 fix: improve required field validation for database connection parameters
--bug=1053849 --user=刘瑞斌 【函数库】- PgSQL 启动参数的先后顺序调整 https://www.tapd.cn/57709429/s/1675675
2025-03-25 12:53:46 +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
CaptainB 98ef6e5775 fix: improve error handling for MySQL connection
--bug=1053828 --user=刘瑞斌 【函数】内置的MySQL查询函数,在启动参数配错后,应用调用的返回结果为None,没有输出异常信息 https://www.tapd.cn/57709429/s/1675168
2025-03-24 17:50:02 +08:00
wxg0103 2faabbe392 refactor: bailian 2025-03-21 11:02:43 +08:00
wxg0103 e22fc95ee9 refactor: Optimization of Q&A page
--story=1018176 --user=王孝刚 【问答页面】优化对话页面显示 https://www.tapd.cn/57709429/s/1674146
2025-03-21 10:07:07 +08:00
CaptainB 72398408c5 ci: update langchain version 2025-03-20 18:55:43 +08:00
junjun 642a284b33 feat: export operate log 2025-03-20 16:41:59 +08:00
wxg0103 3951a15e9d refactor: i18n
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-03-20 14:49:23 +08:00
CaptainB 27561410e5 fix: handle param value is blank 2025-03-20 14:21:31 +08:00
CaptainB 47849fc1a5 fix: Add FlibInstance to allowed classes and use restricted_loads for deserialization 2025-03-20 13:53:37 +08:00
shaohuzhang1 f19ad24907
fix: Application import deserialization vulnerability #2604 (#2633) 2025-03-20 12:10:06 +08:00
shaohuzhang1 4a681297e0
fix: Simple application user did not successfully set up (#2625) 2025-03-19 18:23:05 +08:00
shaohuzhang1 470105f895
feat: Support application、setting、user log recorder (#2617) 2025-03-19 15:45:10 +08:00
CaptainB 9e62e81158 feat: Add functionality to create and manage internal functions with MySQL and PostgreSQL queries 2025-03-19 14:34:54 +08:00
shaohuzhang1 b7accc54e7
fix: Logging error for logged in user (#2613)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-03-19 12:07:46 +08:00
CaptainB 4b4b84a220 feat: Add functionality to create and manage internal functions with MySQL and PostgreSQL queries 2025-03-19 12:06:33 +08:00
shaohuzhang1 5ec94860b2
perf: Enhance Word parsing (#2612) 2025-03-19 12:04:43 +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
shaohuzhang1 1a7f484a62
feat: User information in the application conversation log. (#2599) 2025-03-18 15:50:30 +08:00
CaptainB aab6a2cdf3 refactor: Improve parameter handling in function execution 2025-03-18 14:03:48 +08:00
CaptainB bf6cfface6 chore: add some encoder type 2025-03-18 13:16:28 +08:00
CaptainB 075646481d chore: fix some log recorder 2025-03-17 19:13:16 +08:00
CaptainB f6586a481b refactor: Add mysql function log recorder 2025-03-17 17:53:44 +08:00
CaptainB a3cd92c503 refactor: Add mysql function lib 2025-03-17 17:11:04 +08:00
CaptainB 11f63b4556 refactor: Add postgresql function lib 2025-03-17 17:11:04 +08:00
shaohuzhang1 000a3970e0
fix: Multi process startup document modification executed multiple times (#2581) 2025-03-17 17:00:51 +08:00
shaohuzhang1 be31989ab9
fix: Log annotation acquisition details file type data cannot be serialized (#2579) 2025-03-17 16:45:06 +08:00
CaptainB 9620817a8f feat: Support dataset log recorder 2025-03-17 15:34:41 +08:00
CaptainB 03a705fc93 feat: Support function lib log recorder 2025-03-17 15:34:41 +08:00
shaohuzhang1 d7ef3ba67b feat: Audit Log 2025-03-17 15:34:41 +08:00
wxg0103 6a8d2c1f9c refactor: add enum 2025-03-17 10:33:51 +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
CaptainB ad0b032384 feat: Support functionlib icon and init_fields
--story=1017947 --user=刘瑞斌 【函数库】- 函数支持配置参数及操作优化 https://www.tapd.cn/57709429/s/1664936
2025-03-17 10:30:25 +08:00
wxg0103 b8960d57c8 fix: schema access failure to https 2025-03-14 16:26:15 +08:00
shaohuzhang1 e11c550fc2
fix: Simple application model dialogue model error not returned (#2514)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-03-07 14:15:26 +08:00
shaohuzhang1 82b566d580
fix: Having the same suffix for function node names can result in incorrect value retrieval (#2513) 2025-03-07 13:48:52 +08:00
shaohuzhang1 8b9998a53d
fix: When importing documents from a web knowledge base, if a failed document is encountered, the import will be interrupted (#2511) 2025-03-07 10:19:57 +08:00
shaohuzhang1 b10147ea36
fix: Workflow embedding sub application thinking process switch cannot control thinking process output (#2502) 2025-03-05 15:18:41 +08:00
shaohuzhang1 ea9c5e0ee8
fix: Model addition, error log printing (#2499) 2025-03-05 14:45:50 +08:00
wxg0103 83d51ea866 refactor: i18n 2025-03-05 13:58:27 +08:00
wxg0103 24f67a3c0f fix: csvTemplate error
--bug=1052711 --user=王孝刚 【知识库】英文模式-文档-QA问答对-下载的csv模版内容错误 https://www.tapd.cn/57709429/s/1661565
2025-03-05 12:19:30 +08:00
shaohuzhang1 e420a01e0d
fix: Enterprise WeChat docking sub application cannot output thinking process (#2489) 2025-03-04 19:31:49 +08:00
shaohuzhang1 2157f84c4f
fix: Reference segmentation limit (#2487) 2025-03-04 18:39:49 +08:00
CaptainB 801911d765 refactor: update QwenChatModel to use BaseChatOpenAI and remove unused methods
--bug=1052269 --user=刘瑞斌 【模型】对接千问模型,设置联网参数,maxkb对答不生效。通过python代码调用是可以的。 https://www.tapd.cn/57709429/s/1662132
2025-03-04 17:52:37 +08:00
shaohuzhang1 a75eb9fc86
fix: The newly created simple application dialogue process label is not effective (#2485) 2025-03-04 17:39:31 +08:00
CaptainB 7e3f631dfc refactor: add model_name parameter to AzureChatModel initialization
--bug=1052553 --user=刘瑞斌 【模型】添加 Azure OpenAI 添加DeepSeek -R1 模型报错 https://www.tapd.cn/57709429/s/1661953
2025-03-04 16:08:20 +08:00
wxg0103 9deb3f6c49 fix: csvTemplate error
--bug=1052711 --user=王孝刚 【知识库】英文模式-文档-QA问答对-下载的csv模版内容错误 https://www.tapd.cn/57709429/s/1661565
2025-03-04 15:49:01 +08:00
shaohuzhang1 9d5f9fde62
fix: Retrieve the dialogue record list document and confirm the parameters (#2479) 2025-03-04 14:13:36 +08:00
CaptainB 13ce64e51a fix: Compatible with dashscope tts
--bug=1052708 --user=刘瑞斌 【应用】-使用阿里云语音合成模型sambert-zhichu-v1,对话报错 https://www.tapd.cn/57709429/s/1661551
2025-03-04 10:49:36 +08:00
wxg0103 4fc429a8d1 fix: record log content error
--bug=1052670 --user=王孝刚 应用-企业微信对接应用后,在企业微信中与应用对话,对话日志中<think></think>思考过程输出了两次 https://www.tapd.cn/57709429/s/1661186
2025-03-03 16:12:43 +08:00
shaohuzhang1 dc79a22ba3
feat: Non streaming response answers_list (#2461) 2025-03-03 14:54:45 +08:00
CaptainB 7cdd188b06 refactor: rename function lib export subfix
--bug=1052638 --user=刘瑞斌 函数库导出后缀名优化 https://www.tapd.cn/57709429/s/1660837
2025-03-03 10:22:49 +08:00
itaa ed8f8f8a3e
fix: ollama model provider can not set 'num_ctx' etc. parameter #2442 (#2444)
langchain-openai is not compatible with parameter Settings in ollama, such as num_ctx. Therefore, you need to create model instances using langchain-ollama

(cherry picked from commit 42ae7b443d)
2025-02-28 17:45:48 +08:00
CaptainB dd84da4add fix: swagger show more args 2025-02-28 15:07:51 +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
wxg0103 badd722f9d refactor: i18n 2025-02-27 18:32:25 +08:00
shaohuzhang1 afaf3d6e26
fix: The workflow cannot function properly after the conversation flow is disconnected (#2428) 2025-02-27 14:21:47 +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
shaohuzhang1 1811a80ecc
perf: enable gzip. (#2422) 2025-02-27 10:17:04 +08:00
shaohuzhang1 9b93cca790
fix: Import zip report error (#2420) 2025-02-26 17:17:01 +08:00
liqiang-fit2cloud 68b9225818 perf: enable gzip. 2025-02-26 15:54:19 +08:00
shaohuzhang1 eb6f4e8cb8
fix: VLLM Supplier Dialogue Verification (#2412) 2025-02-26 12:04:25 +08:00
shaohuzhang1 50dd8fae41
fix: Paragraph list unsorted (#2411) 2025-02-26 11:52:44 +08:00
shaohuzhang1 413fa6f0c2
fix: When generating a problem, the generated data is incorrect (#2408) 2025-02-26 11:00:07 +08:00
shaohuzhang1 c6c3799d08
fix: the error in obtaining the document list (#2406) 2025-02-26 10:26:42 +08:00
shaohuzhang1 fdb2cbd9ab
fix: File upload failed (#2398) 2025-02-25 17:02:37 +08:00
shaohuzhang1 e1f0f39987
fix: When adding members in bulk, existing members will be automatically passed in, do not affect the joining of other members #2351 (#2397) 2025-02-25 16:54:29 +08:00
shaohuzhang1 218a247684
fix: Dialogue log export, question time does not match on the page (#2396) 2025-02-25 16:17:41 +08:00
CaptainB 5da758e8a1 fix: Fix import function lib permission
--bug=1052409 --user=刘瑞斌 【函数库】导入一个原来是公有的函数,函数的权限依然是公有 https://www.tapd.cn/57709429/s/1658705
2025-02-25 16:03:55 +08:00
CaptainB 666d58659e fix: Fix user cannot export public function lib
--bug=1052408 --user=刘瑞斌 【函数库】导出非当前用户创建的函数,报错 https://www.tapd.cn/57709429/s/1658696
2025-02-25 15:59:52 +08:00
wxg0103 8dc5b94198 refactor: add i18n 2025-02-25 15:20:51 +08:00
wxg0103 09a80188ac refactor: add i18n 2025-02-25 15:20:01 +08:00
shaohuzhang1 8c45e92ee4
feat: The OpenAI interface supports the thought process (#2392) 2025-02-25 14:22:51 +08:00
CaptainB dfcb724502 refactor: Support string,json,num types 2025-02-25 14:05:58 +08:00
wxg0103 a01f21e3ac refactor: ollama reranker 2025-02-25 11:07:49 +08:00
shaohuzhang1 3aa5dd3694
feat: The demonstration page supports modifying dialogue summaries (#2348) 2025-02-24 18:53:21 +08:00
wxg0103 9185515660 refactor: ollama support rerank 2025-02-24 18:35:37 +08:00
shaohuzhang1 6b72611b72
fix: VLLM supplier recalculates token function (#2375) 2025-02-24 17:15:46 +08:00
shaohuzhang1 2d4deda6b4
docs: Create an application and add workflow parameters (#2374) 2025-02-24 16:33:35 +08:00
CaptainB 3c6b65baa1 fix: Remove vllm image cache
--bug=1052365 --user=刘瑞斌 【github#2353】vllm视觉模型修改最大tokens不生效 https://www.tapd.cn/57709429/s/1657667
2025-02-24 16:30:13 +08:00
shaohuzhang1 fa1886a17e
fix: Workflow execution decimal cannot be serialized (#2372) 2025-02-24 16:29:59 +08:00
shaohuzhang1 8477e957bd
fix: Function library execution role group (#2358) 2025-02-24 10:07:14 +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
Noven Zhen 66539a75dc
fix bug:when docker build image has bugs due to the multiple definition in django.po (#2337) 2025-02-21 10:10:06 +08:00
wxg0103 cbc6fc4710 refactor: i18n 2025-02-20 17:59:45 +08:00
shaohuzhang1 a06c5c097e fix: Tokens cannot be obtained from the model dialogue 2025-02-19 12:06:55 +08:00