Commit Graph

2308 Commits

Author SHA1 Message Date
shaohuzhang1 6b3a2d7c4d refactor: add cl100k_base.tiktoken tokenizer. (#4331) 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 f6ebaa7cac feat: Local model validation using local_madel (#4330) 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
shaohuzhang1 0b330c82db fix: dependency package (#4328) 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 be43d264ce fix: Rearrange model dependency (#4324) 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 977019b2bd fix: Application workflow, after the loop ends, there is a recall node that cannot have a conversation (#4319) 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
zhangzhanwei 2814e48be1 feat: Folder move order by name 2025-11-10 15:21:22 +08:00
zhangzhanwei ba4e0b77f5 feat: Folder move 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 3c8ca222bd perf: revert preload. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 70e4f5f467 perf: revert preload. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud d35cf16031 perf: revert preload. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 41b60ed53c perf: revert preload. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 5fcf122003 perf: revert preload. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 00acd372db perf: revert preload. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 5ea3023bde perf: revert preload. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud e84391b4c4 perf: revert preload. 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud 7b0df86578 perf: revert preload. 2025-11-10 15:21:22 +08:00
CaptainB b36faff714 chore: update document deletion logic to handle paragraph IDs and related mappings
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
--bug=1063248 --user=刘瑞斌 【知识库】删除文档时,分段与问题的关联关系没有清除 https://www.tapd.cn/62980211/s/1793500
2025-11-03 16:38:21 +08:00
王旭辉 d636d6ea7a fix(vector): 修复 source_type 判断类型问题
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
- 将 source_type 转换为字符串后再与枚举值比较
- 避免了类型不匹配导致的判断错误
- 确保了数据分块功能的正常运行
2025-11-03 10:44:21 +08:00
shaohuzhang1 fcd258d05c
fix: The maximum limit for application dialogue has been modified to 10000000 times (#4302) 2025-11-03 10:20:20 +08:00