Ke Sun
f16e369540
fix(celery): remove legacy environment variables to prevent CLI hijacking
...
- Remove BROKER_URL environment variable to prevent Celery CLI override
- Remove RESULT_BACKEND environment variable to prevent Celery CLI override
- Remove CELERY_BROKER environment variable to prevent Celery CLI override
- Remove CELERY_BACKEND environment variable to prevent Celery CLI override
- Add clarifying comments explaining the purpose of neutralizing legacy vars
- Ensures canonical broker and backend URLs are not accidentally overridden by Celery's CLI/Click integration
2026-03-06 10:37:00 +08:00
Ke Sun
47bf93d65e
docs(config): update Celery environment variable naming convention
...
- Replace BROKER_URL and RESULT_BACKEND with REDIS_DB_CELERY_BROKER and REDIS_DB_CELERY_BACKEND in README.md
- Replace BROKER_URL and RESULT_BACKEND with REDIS_DB_CELERY_BROKER and REDIS_DB_CELERY_BACKEND in README_CN.md
- Update api/env.example with new variable names and add deprecation notice
- Add reference to celery-env-bug-report.md documentation explaining why old variable names are avoided
- Prevents environment variable hijacking by Celery CLI when using standard naming conventions
2026-03-06 10:28:03 +08:00
Ke Sun
5c2e0af33e
fix(celery): resolve environment variable hijacking by Celery CLI
...
- Rename CELERY_BROKER and CELERY_BACKEND to REDIS_DB_CELERY_BROKER and REDIS_DB_CELERY_BACKEND to avoid Celery CLI prefix matching hijacking
- Build canonical broker and backend URLs and force them into os.environ to prevent override by stray environment variables
- Add logging for Celery app initialization with sanitized connection details
- Update celery_app.py to use pre-built URL variables instead of inline construction
- Add documentation reference to celery-env-bug-report.md explaining the environment variable naming convention
- Prevents Celery CLI's Click framework from intercepting broker/backend configuration through environment variables
2026-03-06 10:28:03 +08:00
Ke Sun
6a265de31c
Merge pull request #477 from SuanmoSuanyangTechnology/fix/ontology
...
[changes] From the perspective of logical judgment, to determine the …
2026-03-05 19:02:16 +08:00
lanceyq
c3707f543c
[changes] From the perspective of logical judgment, to determine the situation of duplicate names
2026-03-05 18:59:23 +08:00
Ke Sun
8de368348b
Merge pull request #476 from SuanmoSuanyangTechnology/fix/ontology
...
Fix/ontology
2026-03-05 18:38:42 +08:00
lanceyq
d052c31ac5
[changes] The pre-query at the service layer has been removed. The DB constraint ensures a unique single source of truth.
2026-03-05 18:36:12 +08:00
lanceyq
31320afed6
Merge branch 'fix/ontology' of github.com:SuanmoSuanyangTechnology/MemoryBear into fix/ontology
2026-03-05 18:19:39 +08:00
lanceyq
7afe507296
[add] Memory configuration adds uniqueness detection
2026-03-05 18:19:30 +08:00
lanceyq
4188443101
[add] Repeatability test
2026-03-05 18:19:30 +08:00
lanceyq
a1fc0fd394
[add] Added checks for idempotency of the ontology project
2026-03-05 18:19:30 +08:00
lanceyq
71fe35533d
[add] Memory configuration adds uniqueness detection
2026-03-05 18:15:31 +08:00
lanceyq
a2ed335e59
[add] Repeatability test
2026-03-05 18:04:46 +08:00
lanceyq
8422a05d74
[add] Added checks for idempotency of the ontology project
2026-03-05 17:22:18 +08:00
yingzhao
a0a57d5fbb
Merge pull request #474 from SuanmoSuanyangTechnology/fix/release_web_zy
...
fix(web): adjust variable validation timing during Agent debugging
2026-03-05 17:07:13 +08:00
zhaoying
80fa88ac37
fix(web): adjust variable validation timing during Agent debugging
2026-03-05 17:05:48 +08:00
Ke Sun
0fda1c752d
Merge pull request #473 from SuanmoSuanyangTechnology/fix/default
...
Fix/default
2026-03-05 17:05:15 +08:00
lanceyq
6c2fc75199
[fix] Memory configuration, addition of default identifiers for the ontology scene
2026-03-05 17:02:14 +08:00
lanceyq
2cb6aeb022
[fix] The interface returns "is_system_default"
2026-03-05 17:02:14 +08:00
yingzhao
e0174f75b3
Merge pull request #471 from SuanmoSuanyangTechnology/feature/memory_zy
...
feat(web): memory config & ontology add default tag
2026-03-05 16:50:10 +08:00
yingzhao
51d04746a3
Merge branch 'release/v0.2.6' into feature/memory_zy
2026-03-05 16:49:46 +08:00
yingzhao
3b08d6c320
Merge pull request #470 from SuanmoSuanyangTechnology/feature/form_zy
...
feat(web): knowledge add form rules
2026-03-05 16:45:13 +08:00
zhaoying
495c5802a0
feat(web): knowledge add form rules
2026-03-05 16:43:59 +08:00
zhaoying
621b074b3d
feat(web): memory config & ontology add default tag
2026-03-05 16:36:39 +08:00
Ke Sun
6df32983b5
Merge pull request #469 from SuanmoSuanyangTechnology/fix/bug
...
[fix] Remove the unused ones
2026-03-05 16:23:25 +08:00
lanceyq
9c9fe9dde7
[fix] Remove the unused ones
2026-03-05 16:21:27 +08:00
yingzhao
f90e102854
Merge pull request #468 from SuanmoSuanyangTechnology/feature/model_zy
...
feat(web): file type add default value
2026-03-05 15:15:56 +08:00
zhaoying
2e1eb9a5a6
feat(web): file type add default value
2026-03-05 15:12:18 +08:00
Mark
218637e81d
[add] migration script
2026-03-05 14:42:42 +08:00
Mark
404f78af0f
Merge tag 'v0.2.5-hotfix-1' into develop
...
v2.0.5-hotfix
# Conflicts:
# api/app/cache/__init__.py
# api/app/cache/memory/__init__.py
# api/app/celery_app.py
# api/app/core/config.py
# web/src/api/memory.ts
# web/src/views/Workflow/components/Chat/Chat.tsx
2026-03-05 14:37:35 +08:00
Mark
130f15665c
Merge branch 'hotfix/v0.2.5-hotfix-1'
v0.2.5-hotfix-1
2026-03-05 14:29:59 +08:00
Mark
6301528301
Merge pull request #466 from SuanmoSuanyangTechnology/feature/agent-variables
...
Enhance workflow input handling and add legacy dify compatibility
2026-03-05 14:21:31 +08:00
lixiangcheng1
6feea968e0
Merge branch 'feature/knowledge_lxc' into develop
2026-03-05 14:21:13 +08:00
lixiangcheng1
b5199b2eb9
【ADD】list operational mcp servers
2026-03-05 14:18:33 +08:00
Eternity
78ce2a9a8b
feat(workflow): support multimodal input
2026-03-05 14:16:30 +08:00
yingzhao
6ed542b007
Merge pull request #465 from SuanmoSuanyangTechnology/feature/model_zy
...
Feature/model zy
2026-03-05 12:29:45 +08:00
Ke Sun
5322b0c4a3
Merge pull request #464 from SuanmoSuanyangTechnology/fix/ontology-scene
...
[fix] Deleting the default scene results in a 400 status code. A unif…
2026-03-05 11:26:01 +08:00
Eternity
a72d5d2c77
fix(workflow): add backward compatibility for old dify configs
2026-03-05 11:18:48 +08:00
Eternity
16c1cbe24f
feat(agent): add input variable validation
2026-03-05 11:17:56 +08:00
yingzhao
0d8f4c76e7
Merge pull request #463 from SuanmoSuanyangTechnology/feature/workflow_import_zy
...
feat(web): chat variable support paragraph
2026-03-05 11:07:29 +08:00
lanceyq
e511b14933
[fix] Deleting the default scene results in a 400 status code. A unified language pop-up prompt is displayed.
2026-03-05 11:06:46 +08:00
zhaoying
b5ba53208e
feat(web): chat variable support paragraph
2026-03-05 11:05:51 +08:00
yingzhao
b8bfb4d0c5
Merge pull request #462 from SuanmoSuanyangTechnology/feature/memory_zy
...
feat(web): add SYSTEM_DEFAULT_SCENE_CANNOT_DELETE error i18n
2026-03-05 10:59:59 +08:00
zhaoying
1b666638bc
feat(web): add SYSTEM_DEFAULT_SCENE_CANNOT_DELETE error i18n
2026-03-05 10:58:25 +08:00
Mark
2bd364eca3
[add] migration script
2026-03-05 10:46:31 +08:00
zhaoying
f27fc51801
Merge branch 'develop' into feature/model_zy
2026-03-05 10:32:02 +08:00
Mark
0f85eff76b
Merge pull request #460 from SuanmoSuanyangTechnology/feature/agent-tool_xjn
...
feat(model and app)
2026-03-05 10:31:50 +08:00
zhaoying
0def474cc2
feat(web): app's chat support audio/video/document file
2026-03-05 10:30:35 +08:00
yingzhao
026e4376d4
Merge pull request #461 from SuanmoSuanyangTechnology/fix/memory_web_zy
...
fix(web): use modal.warning replace modal.confirm
2026-03-05 10:02:19 +08:00
zhaoying
cf571cf02b
fix(web): use modal.warning replace modal.confirm
2026-03-05 10:01:11 +08:00