Commit Graph

652 Commits

Author SHA1 Message Date
CaptainB a3c0cc1115 refactor: update file ID assignment in document extraction to use provided metadata 2025-11-24 17:22:10 +08:00
CaptainB 99477d6f6d refactor: simplify file handling in document extraction by removing unnecessary byte conversion and enhancing file saving logic 2025-11-24 15:59:22 +08:00
shaohuzhang1 7e7e786bef Merge branch 'v2' into knowledge_workflow
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
# Conflicts:
#	apps/application/flow/workflow_manage.py
#	apps/common/utils/tool_code.py
#	ui/src/views/tool/component/ToolListContainer.vue
2025-11-21 18:09:39 +08:00
shaohuzhang1 ada109d7ca feat: tool datasource 2025-11-21 17:05:21 +08:00
liqiang-fit2cloud d6a3a3cf1f refactor: change dir permissions.
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-11-21 15:05:32 +08:00
liqiang-fit2cloud 49e52aa53c refactor: change dir permissions. 2025-11-21 14:58:59 +08:00
liqiang-fit2cloud e27d39c1ac refactor: change dir permissions. 2025-11-21 14:10:28 +08:00
liqiang-fit2cloud 491c39f4d0 refactor: change dir permissions. 2025-11-21 12:23:36 +08:00
liqiang-fit2cloud a9b6f2b211 refactor: change dir permissions. 2025-11-21 10:35:47 +08:00
liqiang-fit2cloud fb37c57b53 refactor: change dir permissions.
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-21 09:37:19 +08:00
liqiang-fit2cloud 8c0836627a refactor: remove print.
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-19 17:16:22 +08:00
liqiang-fit2cloud 7d3f92bd51 fix: fix incorrect permission may introduce security vulnerabilities. 2025-11-19 14:32:05 +08:00
liqiang-fit2cloud 30494cf6de refactor: avoid using temp files in sandbox. 2025-11-18 17:46:13 +08:00
liqiang-fit2cloud 390ab83ed4 refactor: avoid using temp files in sandbox. 2025-11-18 16:48:22 +08:00
liqiang-fit2cloud da5c4b0ee2 refactor: avoid using temp files in sandbox.
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-18 16:10:08 +08:00
liqiang-fit2cloud dec1431560 refactor: avoid using temp files in sandbox. 2025-11-18 15:55:34 +08:00
liqiang-fit2cloud 6a1c3786f4 refactor: avoid using temp files in sandbox. 2025-11-18 14:56:52 +08:00
liqiang-fit2cloud 24b8a7bab1 refactor: avoid using temp files in sandbox. 2025-11-18 14:37:12 +08:00
liqiang-fit2cloud 8bfce62ad8 refactor: avoid using temp files in sandbox. 2025-11-18 14:27:48 +08:00
liqiang-fit2cloud 60a66c47a1 fix: fix incorrect permission may introduce security vulnerabilities. 2025-11-17 14:35:04 +08:00
liqiang-fit2cloud c1eb6ac621 fix: fix incorrect permission may introduce security vulnerabilities. 2025-11-17 12:46:26 +08:00
liqiang-fit2cloud d12b74f27c fix: fix incorrect permission may introduce security vulnerabilities. 2025-11-17 12:23:55 +08:00
liqiang-fit2cloud 79988b170c fix: fix incorrect permission may introduce security vulnerabilities. 2025-11-17 11:16:31 +08:00
liqiang-fit2cloud 91e8e833a9 fix: fix incorrect permission may introduce security vulnerabilities. 2025-11-17 10:59:09 +08:00
CaptainB 37d886e9ed refactor: optimize RSA encryption and decryption functions with caching
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-11-14 22:15:09 +08:00
zhangzhanwei f3350980c7 perf: Memory optimization
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-14 18:42:53 +08:00
CaptainB 4f58295d39 feat: add default manager to AppModelMixin 2025-11-12 15:31:41 +08:00
CaptainB decd060304 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:41:55 +08:00
liqiang-fit2cloud 324f836fdd refactor: never restart core worker if worker=1. 2025-11-11 18:13:21 +08:00
zhangzhanwei b82e12ac2e feat: Knowledge workflow permission 2025-11-11 16:17:06 +08:00
liqiang-fit2cloud ad1742fd0f refactor: delete .SANDBOX_BANNED_HOSTS file if SANDBOX_PYTHON_BANNED_KEYWORDS is empty/ 2025-11-10 09:39:54 +08:00
CaptainB 42d91e232b refactor: remove scheduler service and related code 2025-11-07 21:02:27 +08:00
liqiang-fit2cloud f9c1742b43 refactor: change model path in MKTokenizer. 2025-11-07 14:57:04 +08:00
shaohuzhang1 3f6453eb3a
feat: Using the HuggingFace tokenizer (#4329) 2025-11-07 13:29:17 +08:00
liqiang-fit2cloud fa0cd61584 fix: ensure worker count is properly converted to integer for max_requests 2025-11-07 11:18:02 +08:00
liqiang-fit2cloud 180ee40cdc refactor: set MAXKB_SANDBOX_HOME env. 2025-11-07 11:10:14 +08:00
CaptainB fe7d75d720 fix: ensure worker count is properly converted to integer for max_requests 2025-11-07 10:33:06 +08:00
CaptainB 6b8a9bdc74 fix: correct parameter name for graceful timeout in Gunicorn configuration 2025-11-07 10:19:40 +08:00
liqiang-fit2cloud 7a4594db66 refactor: set timeout for workers. 2025-11-07 10:13:24 +08:00
liqiang-fit2cloud 207a67dcc2 refactor: never restart scheduler worker if worker=1. 2025-11-07 10:04:16 +08:00
liqiang-fit2cloud ea2c2f9e2b refactor: never restart local_model worker if LOCAL_MODEL_HOST_WORKER=1. 2025-11-07 09:58:15 +08:00
liqiang-fit2cloud ff570a3c71 refactor: read SANDBOX_BANNED_HOSTS from file instead of env. 2025-11-07 09:47:35 +08:00
CaptainB 806393f28c fix: update globals_v initialization to use an empty dictionary in tool_code.py 2025-11-06 17:18:23 +08:00
liqiang-fit2cloud 0bd9e170fb Merge remote-tracking branch 'origin/v2' into v2 2025-11-06 16:52:57 +08:00
liqiang-fit2cloud c1fbb41aa5 refactor: forbidden access by hostname or docker ip. 2025-11-06 16:52:47 +08:00
shaohuzhang1 8cabf823e8
fix: dependency package (#4325)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-06 16:46:20 +08:00
liqiang-fit2cloud f0ecad6de1 refactor: rename MAXKB_SANDBOX_PYTHON_ALLOW_HOSTS_REGEXES to MAXKB_SANDBOX_PYTHON_BANNED_HOSTS 2025-11-06 15:41:35 +08:00
liqiang-fit2cloud 3ab17c61ff Merge remote-tracking branch 'origin/v2' into v2 2025-11-06 11:23:20 +08:00
liqiang-fit2cloud 6e39df454c refactor: rename MAXKB_SANDBOX_PYTHON_ALLOW_HOSTS_REGEXES to MAXKB_SANDBOX_PYTHON_ALLOW_HOST_REGEXES 2025-11-06 11:23:09 +08:00
shaohuzhang1 8a0a807763
fix: Set the startup environment variables (#4322) 2025-11-06 11:22:36 +08:00