Commit Graph

94 Commits

Author SHA1 Message Date
CaptainB fbc13a0bc2 feat: optimize RSA encryption and decryption processes with caching and memory improvements 2025-11-14 18:36:23 +08:00
liqiang-fit2cloud c9f330b1ea refactor: delete .SANDBOX_BANNED_HOSTS file if SANDBOX_PYTHON_BANNED_KEYWORDS is empty/ 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 28ec8335db refactor: set MAXKB_SANDBOX_HOME env. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud ed140743e2 refactor: read SANDBOX_BANNED_HOSTS from file instead of env. 2025-11-10 15:21:22 +08:00
CaptainB bba5f9b3d6 fix: update globals_v initialization to use an empty dictionary in tool_code.py 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud be6679ee29 refactor: forbidden access by hostname or docker ip. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud d3ad608392 refactor: rename MAXKB_SANDBOX_PYTHON_ALLOW_HOSTS_REGEXES to MAXKB_SANDBOX_PYTHON_BANNED_HOSTS 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 88b73d0e16 refactor: rename MAXKB_SANDBOX_PYTHON_ALLOW_HOSTS_REGEXES to MAXKB_SANDBOX_PYTHON_ALLOW_HOST_REGEXES 2025-11-10 15:21:22 +08:00
CaptainB 983ccdcb27 fix: set environment variables for LD_PRELOAD and SANDBOX_ALLOW_HOSTS_REGEXES in sandbox execution 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 762359703c refactor: rename MAXKB_SANDBOX_PYTHON_BANNED_HOSTS to MAXKB_SANDBOX_PYTHON_ALLOW_HOSTS_REGEXES 2025-11-10 15:21:22 +08:00
CaptainB 0c20a7dd52 fix: set environment variables for banned hosts and preload library in sandbox execution 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 3445e05aea feat: add MAXKB_SANDBOX_PYTHON_BANNED_HOSTS env to ban host for sandbox in tools code. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud aed98a5906 feat: add MAXKB_SANDBOX_PYTHON_BANNED_HOSTS env to ban host for sandbox in tools code. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud e4b90c6e96 feat: add MAXKB_SANDBOX_PYTHON_BANNED_HOSTS env to ban host for sandbox in tools code. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 1186752027 feat: add MAXKB_SANDBOX_PYTHON_BANNED_HOSTS env to ban host for sandbox in tools code. 2025-11-10 15:21:22 +08:00
CaptainB 7a9c67d5df fix: add empty environment variable dictionary for subprocess execution 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 568cc74ae3 fix: remove env from sandbox. 2025-11-10 15:21:22 +08:00
CaptainB d147b794ce chore: replace split_text with smart_split_paragraph in pdf_split_handle.py 2025-10-27 14:23:42 +08:00
CaptainB da7f0edecd refactor: configure logging levels for mcp and mcp.server 2025-10-21 17:59:25 +08:00
wxg0103 39aaee8e02 fix: handle empty message case in common.py and update username regex validation in user.py
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-10-20 18:42:55 +08:00
CaptainB cae5682110 feat: add smart_split_paragraph function for intelligent text segmentation
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
--bug=1061634 --user=刘瑞斌 【知识库】知识库智能分段,如果切分段落太长的话,可以按照完整段落进行切分,创建多个片段。 https://www.tapd.cn/62980211/s/1783998
2025-10-13 10:26:06 +08:00
CaptainB f3ef42b76f chore: enhance re_findall function to handle None and empty string patterns 2025-10-10 10:37:02 +08:00
CaptainB 80629b9574 chore: enhance re_findall function to handle empty patterns and regex errors
--bug=1062401 --user=刘瑞斌 【知识库】知识库文档分段的时候,如果使用的分段标识是文档中不存在的符号,点击生成预览会报错,希望这个报错提示词可以优化一下,方便识别 https://www.tapd.cn/62980211/s/1782047
2025-10-09 13:23:10 +08:00
CaptainB df442272e9 feat: add MCP transport validation to ToolExecutor 2025-09-28 15:33:25 +08:00
CaptainB 383957abb3 chore: update regex pattern and file path in common.py
--bug=1061351 --user=刘瑞斌 【知识库】知识库导出zip没有图片 https://www.tapd.cn/62980211/s/1768275
2025-09-05 11:48:14 +08:00
CaptainB b5005e4744 fix: correct JSON serialization in exec_code method
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-09-04 18:10:11 +08:00
CaptainB 817d5bcd5a chore: replace pickle with json for data serialization in tool_code.py 2025-09-04 16:42:59 +08:00
CaptainB af4f9e5139 fix: improve default parameter handling in MCP tool code generation 2025-08-13 13:37:00 +08:00
CaptainB 3830ee920d feat: enhance function parameter handling to support default values 2025-08-13 12:44:39 +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 f0a3391897 refactor: simplify error handling in MCP server code execution 2025-08-13 11:49:37 +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
liqiang-fit2cloud b1a70b7b99 Merge remote-tracking branch 'origin/v2' into v2
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-12 10:45:02 +08:00
liqiang-fit2cloud 8183858adf refactor: change dir permission. 2025-08-12 10:44:51 +08:00
CaptainB f1356e9b61 feat: add MCP tool support with new form and dropdown options 2025-08-12 10:41:42 +08:00
CaptainB 6184058e4d feat: implement charset detection utility in fork.py
--bug=1059829 --user=刘瑞斌 【知识库】web导入知识库中文字符乱码 https://www.tapd.cn/62980211/s/1746162
2025-07-31 11:39:02 +08:00
zhangzhanwei ca070d7466 fix: Model swagger
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-07-25 18:35:58 +08:00
CaptainB 6f2db6f488 feat: Implement daily log rotation with DailyTimedRotatingFileHandler
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-20 14:16:13 +08:00
CaptainB 9e80a652c4 refactor: replace try_lock and un_lock with RedisLock for improved locking mechanism 2025-07-17 15:34:11 +08:00
wxg0103 8231ae66e4 refactor: update license validation logic to ensure proper function calls 2025-07-16 18:23:13 +08:00
CaptainB f385bb3aec refactor: rename validation method to follow naming conventions 2025-07-16 16:42:26 +08:00
liqiang-fit2cloud e982bb0ca1 feat: add MAXKB_SANDBOX_PYTHON_BANNED_KEYWORDS env to ban keywords in tool content. 2025-07-16 16:24:41 +08:00
wxg0103 c035dc5f39 fix: remove empty lines from text before text-to-speech conversion 2025-07-16 10:12:49 +08:00
shaohuzhang1 dd2fbb5c98
fix: Scheduled file scheduled deletion (#3613) 2025-07-15 18:02:25 +08:00
shaohuzhang1 158bd2f43b
fix: rsa_key cache setting (#3610) 2025-07-15 17:21:18 +08:00
wxg0103 d781797555 refactor: remove encryption from sensitive fields in auth_config_serializer and related modules 2025-07-11 19:47:32 +08:00
wxg0103 28e89ca6ec refactor: replace encryption function with new encrypt method for sensitive data handling 2025-07-11 19:43:53 +08:00
shaohuzhang1 3450ef78a4
fix: Application import and export (#3538) 2025-07-09 21:34:41 +08:00
wxg0103 0316afa299 refactor: enhance HTML tag removal in text processing to exclude audio, video, and image tags 2025-07-09 20:34:47 +08:00