Commit Graph

640 Commits (d8e640748ef0e9d233190e5dfdf638545bca3407)

Author SHA1 Message Date
panyy b23569e0b8 fix(mindmap): surface backend validation messages in the workbench
find_err_detail relied on ReturnDict.serializer, so plain string and list
errors lost their message and nested ones could raise. Walk dicts and
lists directly instead, and keep the internal non_field_errors key out of
user-facing text.

The axios interceptor toasted every failure before the page could handle
it, so saving over the mindmap limit showed two messages and the workbench
fell back to a generic one. Add an opt-in silentError flag and let the
workbench render the server message itself.
2026-11-12 17:54:06 +08:00
panyy 5434504f9b feat:优化使用体验 2026-11-05 18:16:48 +08:00
panyy 2baba0b19c feat:知识库版本 2026-10-27 13:37:24 +08:00
panyy e06b78918b feat: integrate AI workbench, unified permissions and access control 2026-10-27 10:54:52 +08:00
panyy 69eb1eb681 完善知识库、模型管理和思维导图功能 2026-10-22 14:48:00 +08:00
panyy 6df950ec3f feat:优化重构 2026-10-21 15:48:54 +08:00
panyy b4c97ab937 feat:优化 2026-07-03 13:51:50 +08:00
panyy d9173cfa10 feat:批量导出源文件 2026-06-29 18:38:51 +08:00
panyy 1db5c59925 feat:限制必须api-key或登录6 2026-06-29 17:50:14 +08:00
panyy cdf526bc25 feat:限制必须api-key或登录2 2026-06-29 16:40:14 +08:00
panyy 82ea3bfa7d feat:api-key和对话历史 2026-06-29 15:58:04 +08:00
tanlianwang 0546b773db feat(ui): 添加系统管理菜单功能并优化模型相关文案
- 新增系统管理菜单,包含用户管理、资源授权和系统设置功能
- 实现资源授权下拉菜单,支持应用、知识库、工具和模型的授权管理
- 实现系统设置下拉菜单,支持邮件设置等功能
- 将模型相关文案中的"供应商"统一修改为"模型",提升表述准确性
- 更新模型表单和API中的字段名称和提示信息
- 修复前端国际化文件中模型相关的翻译内容
2026-03-04 10:57:37 +08:00
tanlianwang 071f14a9c6 chore(config): 更新应用标题并添加嵌入模型默认值
- 将 VITE_APP_TITLE 从 'MaxKB' 更改为 'Ai-RAG'
- 为嵌入模型路径和名称添加默认值配置
- 注释掉关于图标的代码以禁用相关功能
2025-12-29 10:59:32 +08:00
CaptainB 37d886e9ed refactor: optimize RSA encryption and decryption functions with caching 2025-11-14 22:15:09 +08:00
zhangzhanwei f3350980c7 perf: Memory optimization 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 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
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) 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
CaptainB 6ac10785c9 fix: set environment variables for LD_PRELOAD and SANDBOX_ALLOW_HOSTS_REGEXES in sandbox execution 2025-11-06 11:10:37 +08:00
liqiang-fit2cloud 9029240931 refactor: rename MAXKB_SANDBOX_PYTHON_BANNED_HOSTS to MAXKB_SANDBOX_PYTHON_ALLOW_HOSTS_REGEXES 2025-11-06 11:03:48 +08:00
shaohuzhang1 88fc5dd398
fix: Set the startup environment variables (#4321) 2025-11-06 10:31:14 +08:00
CaptainB bb7dfbc2fe fix: set environment variables for banned hosts and preload library in sandbox execution 2025-11-05 21:19:53 +08:00
shaohuzhang1 a8d0729e65
perf: Memory optimization (#4318) 2025-11-05 19:05:26 +08:00
liqiang-fit2cloud 1f4d6d1123 feat: add MAXKB_SANDBOX_PYTHON_BANNED_HOSTS env to ban host for sandbox in tools code. 2025-11-05 19:03:17 +08:00
liqiang-fit2cloud f0be269cdc feat: add MAXKB_SANDBOX_PYTHON_BANNED_HOSTS env to ban host for sandbox in tools code. 2025-11-05 18:44:57 +08:00
liqiang-fit2cloud b7152867a3 feat: add MAXKB_SANDBOX_PYTHON_BANNED_HOSTS env to ban host for sandbox in tools code. 2025-11-05 16:55:29 +08:00
liqiang-fit2cloud 9971df1a02 feat: add MAXKB_SANDBOX_PYTHON_BANNED_HOSTS env to ban host for sandbox in tools code. 2025-11-05 16:43:17 +08:00
CaptainB a30d0d07d1 revert: add Gunicorn preload option and initialize shared resources
This reverts commit 1af14bdb27.
2025-11-05 16:39:54 +08:00
CaptainB 2a64d281ab fix: add empty environment variable dictionary for subprocess execution 2025-11-05 12:45:31 +08:00
CaptainB 1af14bdb27 feat: add Gunicorn preload option and initialize shared resources 2025-11-05 12:38:00 +08:00