Commit Graph

5554 Commits

Author SHA1 Message Date
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 8f3cd55ad9 fix: fix typo. 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
liqiang-fit2cloud e30cf91528 refactor: ban host.docker.internal access by default. 2025-11-10 15:21:22 +08:00
CaptainB e0f9adacb4 fix: add .SANDBOX_BANNED_HOSTS to .gitignore 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
wangdan-fit2cloud 2dc6d813aa feat: Folder directories support moving or dragging. 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
dependabot[bot] de1147fc69 chore(deps): bump django in the pip group across 1 directory (#4320)
Bumps the pip group with 1 update in the / directory: [django](https://github.com/django/django).


Updates `django` from 5.2.7 to 5.2.8
- [Commits](https://github.com/django/django/compare/5.2.7...5.2.8)

---
updated-dependencies:
- dependency-name: django
  dependency-version: 5.2.8
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
wangdan-fit2cloud c34c37f869 fix: Fixed the issue where resource authorization modifications would automatically fold subfolders 2025-11-10 15:21:22 +08:00
liqiang-fit2cloud cb6835c3fe 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
wangdan-fit2cloud 607ed83225 perf: Optimize file directory style 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
wangdan-fit2cloud 89e7e7b805 fix: Revise the copy 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