Commit Graph

624 Commits

Author SHA1 Message Date
zhangzhanwei 3ce69d64fb perf: Memory optimization 2025-11-14 18:51:29 +08:00
CaptainB fbc13a0bc2 feat: optimize RSA encryption and decryption processes with caching and memory improvements 2025-11-14 18:36:23 +08:00
CaptainB eb0b8d6651 chore: adjust default worker count calculation in command.py
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-11 20:45:20 +08:00
liqiang-fit2cloud 2050adfdc5 refactor: never restart core worker if worker=1. 2025-11-11 20:44:44 +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
CaptainB 45bdaf5788 refactor: remove scheduler service and related code 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud bb57783c08 refactor: change model path in MKTokenizer. 2025-11-10 15:21:22 +08:00
shaohuzhang1 bb58bbbf46 feat: Using the HuggingFace tokenizer (#4329) 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud df1f1d6bd2 fix: ensure worker count is properly converted to integer for max_requests 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
CaptainB d26626f0a3 fix: ensure worker count is properly converted to integer for max_requests 2025-11-10 15:21:22 +08:00
CaptainB 4e369da525 fix: correct parameter name for graceful timeout in Gunicorn configuration 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud aa269c114a refactor: set timeout for workers. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud a1507c1e44 refactor: never restart scheduler worker if worker=1. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 1600160f4f refactor: never restart local_model worker if LOCAL_MODEL_HOST_WORKER=1. 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
shaohuzhang1 c32a76335d fix: dependency package (#4325) 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
shaohuzhang1 c08056ea37 fix: Set the startup environment variables (#4322) 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
shaohuzhang1 2508e389aa fix: Set the startup environment variables (#4321) 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
shaohuzhang1 fa1aee6c3d perf: Memory optimization (#4318) 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 f417a5aa39 revert: add Gunicorn preload option and initialize shared resources
This reverts commit 1af14bdb27.
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
CaptainB 63beec4dfb feat: add Gunicorn preload option and initialize shared resources 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 45f97fceb9 revert: add subprocess handling for local model and conditional post handler execution
This reverts commit 8e3550eb83.
2025-11-10 15:21:22 +08:00
CaptainB e497ce271f feat: add subprocess handling for local model and conditional post handler execution 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 7b0df86578 perf: revert preload. 2025-11-10 15:21:22 +08:00
wangxuhui 57195f277a
fix(permission): 修复权限常量解析操作符索引错误 (#4275)
- 修正了权限字符串解析时操作符索引,从原来的第三部分改为第二部分
- 确保权限实例创建时操作符获取正确
- 改善权限常量解析的准确性和稳定性

Co-authored-by: 王旭辉 <2569429256@qq.com>
2025-10-28 18:31:31 +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
liqiang-fit2cloud af5d0dcb9f perf: try to reduce memory usage by adding --preload argument for multi workers. 2025-10-23 10:25:25 +08:00
liqiang-fit2cloud c5aa570482 perf: try to reduce memory usage by decreasing default core workers to 2. 2025-10-23 10:20:05 +08:00
shaohuzhang1 b36e8f5350
perf: Optimize the export of conversation logs (#4230) 2025-10-22 14:53:42 +08:00
zhangzhanwei 4648f08f98 feat: About permission
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-10-22 14:13:49 +08:00
zhangzhanwei 4487964d17 feat: Replace source file permission 2025-10-22 11:25:11 +08:00
zhangzhanwei c0ae78411e feat: Tag permission interface 2025-10-22 10:18:41 +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 c47c70afb0 feat: implement knowledge tag management functionality 2025-10-15 11:35:34 +08:00
zhangzhanwei 89749a3006 feat: Folder authorization backend 2025-10-14 16:33:13 +08:00