Stephen Zhou
42cb6519ea
Merge remote-tracking branch 'origin/main' into deploy/konwledge
2026-09-03 16:32:30 +08:00
Zhu Lei
612a929907
fix(web): stringify object editor values before Monaco createModel ( #41719 )
2026-09-03 07:51:41 +00:00
Stephen Zhou
29acaabc6a
chore(web): canonicalize Tailwind classes ( #41718 )
2026-09-03 07:33:05 +00:00
Benjamin
8f7cca3ae2
fix(web): guard LLM node model_selector against persisted null ( #41707 )
2026-09-03 06:20:48 +00:00
Jyong
57d03faa98
fix(workflow): let the KnowledgeFS retrieval node run on text or image alone
...
The KnowledgeFS retrieval node treated the query text as mandatory even though
a query image is a complete input on its own. Text and image are now
alternatives: the node needs at least one of them, never both.
- web: drop the required mark from the query text field; the checklist fails
only when neither variable is bound (new i18n message in every locale).
- api: make `query_variable_selector` optional with a model-level rule that
one of the two selectors must be set, and only map the query variable when
it is bound. At runtime an empty text without images is a configuration
error; an image-only query retrieves with an empty text, merges spaces on
their own scores instead of a text reranker, skips automatic metadata
extraction, and skips the text-based failed-query capture.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015zw5G5SX3HmVfnZof6YWAc
2026-09-03 01:52:19 -04:00
yyh
59021616d4
refactor(web): migrate legacy form controls to Dify UI ( #41682 )
2026-09-03 03:50:23 +00:00
Stephen Zhou
69fa1e1018
lint tailwind
2026-09-03 11:00:41 +08:00
Jyong
0340784d57
feat(knowledge-fs): add automatic metadata filtering to retrieval node
...
Bring the LLM-driven "automatic" metadata filtering mode from the legacy
Knowledge Retrieval node to the KnowledgeFS retrieval node
(knowledge-retrieval-v2).
Backend:
- Accept `automatic` in `metadata_filtering_mode` and add
`metadata_model_config` to the node entity.
- Add `automatic_metadata_filter.py`, which reuses the legacy metadata
filter prompt templates, invokes the configured model, parses the JSON
answer and normalises operators/values against the KnowledgeFS
metadata catalog before building custom metadata conditions.
- Resolve the shared metadata catalog across the selected spaces through
the new `list_metadata_fields` app execution capability (paginated),
fail closed on missing/unavailable models and catalog admission errors,
fail open on extraction errors, and expose the outcome via
`metrics.metadata_filtering` and `llm_usage`.
- Inject the default extractor from the node factory.
- Fix an unescaped brace in the legacy completion prompt template that
broke `.format()`.
Frontend:
- Offer disabled/automatic/manual modes, normalise unknown persisted
modes to disabled, store the automatic model and completion params,
render the model selector through the shared MetadataFilter, and
require a model when saving in automatic mode.
Co-Authored-By: Claude Code <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WnUM1CdV5LpcxZEQ2vu9Xc
2026-09-02 02:55:12 -04:00
Jyong
222d09f474
feat(knowledge-fs): add profile-driven multimodal retrieval
2026-09-02 01:01:57 -04:00
Stephen Zhou
cd7e1be7cb
Merge remote-tracking branch 'origin/main' into deploy/konwledge
...
# Conflicts:
# api/services/feature_service.py
# api/tests/unit_tests/controllers/console/workspace/test_members.py
# api/tests/unit_tests/core/workflow/nodes/agent_v2/test_validators.py
# api/tests/unit_tests/services/test_system_feature_service_knowledge_fs.py
# pnpm-lock.yaml
2026-09-02 10:31:10 +08:00
yyh
ea98d38c3d
refactor(web): migrate webhook table input ( #41612 )
2026-09-02 01:44:52 +00:00
Stephen Zhou
73e449c3ef
fix(workflow): allow KnowledgeFS top n up to 100
2026-09-01 20:22:56 +08:00
Stephen Zhou
3c7e197afe
fix(workflow): reset KnowledgeFS rerank override
2026-09-01 20:07:55 +08:00
QuantumGhost
d6e4f48526
fix(web): merge workflow tool outputs from all End nodes ( #41517 )
...
Co-authored-by: twwu <twwu@dify.ai>
2026-09-01 08:50:37 +00:00
Joel
fdca3e2a1a
chore: enforce titles on CSS-truncated elements ( #41438 )
2026-09-01 06:18:53 +00:00
Stephen Zhou
ecd41aed3f
Merge remote-tracking branch 'origin/main' into deploy/konwledge
2026-09-01 09:45:49 +08:00
yyh
f92f7e92c3
refactor(workflow): migrate email subject input ( #41551 )
2026-09-01 01:44:43 +00:00
yyh
72458d5750
refactor(workflow): migrate schedule cron input ( #41550 )
2026-09-01 01:44:43 +00:00
Xiyuan Chen
b71dcb8253
fix(web): reset test-email sender state when reopening the modal ( #41515 )
...
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-08-31 12:15:40 +00:00
Stephen Zhou
79d1844020
refactor(knowledge-fs): organize new rag feature boundaries
2026-08-31 18:45:40 +08:00
-LAN-
d0a86cfd4e
fix(workflow): allow human input in iteration and loop ( #40061 )
2026-08-31 08:28:17 +00:00
Joel
280f81757d
fix: stabilize node block selectors and restore start tabs ( #41523 )
2026-08-31 06:58:56 +00:00
yyh
fce29e6f6a
fix(web): refine agent dialog form sessions ( #41492 )
2026-08-31 01:24:03 +00:00
Stephen Zhou
9098955a77
Merge remote-tracking branch 'origin/main' into deploy/konwledge
...
# Conflicts:
# api/tests/unit_tests/controllers/console/test_knowledge_fs_proxy.py
# api/tests/unit_tests/services/test_knowledge_fs_proxy.py
# web/app/components/workflow-app/hooks/use-available-nodes-meta-data.ts
2026-08-28 14:50:39 +08:00
yyh
290acf1b73
fix(ui): keep scroll area focus indicator visible ( #41404 )
2026-08-28 01:37:00 +00:00
yyh
a38ddd9d02
fix: align documentation links with stable anchors ( #41384 )
2026-08-27 08:38:41 +00:00
Joel
d94204ec33
feat: track inline agent and preview mode events ( #41373 )
2026-08-27 08:09:09 +00:00
HelloSrauker
1db542c706
fix(workflow): correct loop boolean break condition values ( #41186 )
2026-08-27 08:02:52 +00:00
Joel
1be72af661
fix: allow publishing workflows with legacy Agent nodes ( #41368 )
2026-08-27 07:26:48 +00:00
yyh
85b4626ac6
fix(web): route Agent V2 documentation links correctly ( #41353 )
2026-08-27 06:20:03 +00:00
yyh
3765a41b8c
refactor(web): migrate workflow variable inputs ( #41340 )
2026-08-27 05:43:10 +00:00
Stephen Zhou
30ed0907f3
Merge remote-tracking branch 'origin/main' into deploy/konwledge
...
# Conflicts:
# api/controllers/console/app/site.py
# api/controllers/console/datasets/datasets.py
# api/core/plugin/backwards_invocation/model.py
# api/core/rag/rerank/rerank_model.py
# api/tests/test_containers_integration_tests/controllers/console/auth/test_oauth_server.py
# api/tests/unit_tests/core/plugin/test_backwards_invocation_model.py
# api/tests/unit_tests/tasks/test_batch_clean_document_task.py
# packages/contracts/generated/api/service/orpc.gen.ts
# web/app/components/datasets/rename-modal/index.tsx
# web/app/components/header/account-setting/model-provider-page/model-selector/popup-layout.tsx
# web/features/tag-management/components/tag-search-content.tsx
2026-08-27 10:06:48 +08:00
yyh
c8e29d9a7d
fix(web): preserve link semantics in button-styled navigation ( #41312 )
2026-08-26 10:50:06 +00:00
Joel
12f259ecae
fix: address Agent UX feedback ( #41219 )
2026-08-25 03:14:24 +00:00
Joel
fef28097cc
fix: preserve agent task editor focus when inserting commands ( #41166 )
2026-08-24 08:33:29 +00:00
yyh
643e2d66bf
chore(deps): upgrade pnpm workspace dependencies ( #41138 )
2026-08-24 07:07:47 +00:00
Joel
693e1b0fc5
fix: show checklist errors for inline agents without models ( #41146 )
2026-08-24 06:57:34 +00:00
wangxiaolei
0024a845f7
feat: support agent skill ( #39675 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: 起岚 <155608604+xiaoyaoqilan@users.noreply.github.com>
Co-authored-by: Parman Mohammadalizadeh <prmma23@gmail.com>
Co-authored-by: Escape0707 <tothesong@gmail.com>
Co-authored-by: Xin Zhang <zhangxin@dify.ai>
Co-authored-by: iridescentWen <66297467+iridescentWen@users.noreply.github.com>
Co-authored-by: Bond Zhu <37842169+MRZHUH@users.noreply.github.com>
Co-authored-by: KVOJJJin <jzongcode@gmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: 非法操作 <hjlarry@163.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: Chester <superdiao6@gmail.com>
Co-authored-by: WH-2099 <wh2099@pm.me>
Co-authored-by: Jony <619963502@qq.com>
Co-authored-by: Jony <13896935+zyz619963502zyz@users.noreply.github.com>
Co-authored-by: Harsh Kashyap <harsh.kashyap2001@gmail.com>
Co-authored-by: Harsh Kashyap <Harsh23Kashyap@users.noreply.github.com>
Co-authored-by: kenwoodjw <blackxin55+@gmail.com>
Co-authored-by: csurong <csurong1@gmail.com>
Co-authored-by: caosurong <surong.cao@thinkingdata.cn>
Co-authored-by: Taranum Wasu <81034301+Taranum01@users.noreply.github.com>
Co-authored-by: Taranum01 <50813317+Taranum01@users.noreply.github.com>
Co-authored-by: Pranav Agarwal <agarwalpranav0711@gmail.com>
Co-authored-by: Stephen Zhou <hi@hyoban.cc>
Co-authored-by: zl86790 <marshal_li_b@163.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai>
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
2026-08-24 05:29:14 +00:00
Stephen Zhou
0564b75187
Merge remote-tracking branch 'origin/main' into deploy/konwledge
...
# Conflicts:
# api/tests/unit_tests/commands/test_generate_swagger_specs.py
# api/tests/unit_tests/controllers/console/app/test_agent_manage_guard.py
# api/tests/unit_tests/extensions/test_ext_login.py
# packages/dify-ui/src/alert-dialog/index.tsx
# web/app/components/datasets/external-api/external-api-modal/index.tsx
# web/app/components/datasets/list/dataset-card/components/operations-dropdown.tsx
# web/features/new-rag/document-list.tsx
# web/features/new-rag/sources-page.tsx
2026-08-24 11:03:38 +08:00
yyh
8bdf702f73
fix(agent-v2): prevent workflow refresh render loop ( #41105 )
2026-08-23 08:56:02 +00:00
yyh
c62947f1f1
refactor(dify-ui): rename radio family entrypoint ( #41104 )
2026-08-23 08:08:29 +00:00
yyh
e18310e52e
refactor(dify-ui): simplify overlay content APIs ( #41098 )
2026-08-22 23:54:08 +00:00
yyh
a9b8c84e9b
refactor(dify-ui): simplify popover content API ( #41069 )
2026-08-21 13:11:40 +00:00
盐粒 Yanli
35a4533889
refactor(agent): simplify Agent v2 output contract ( #41062 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-21 11:55:25 +00:00
yyh
6cb96adfbe
refactor(dify-ui): compose dialog close controls ( #41064 )
2026-08-21 10:21:43 +00:00
yyh
faca558bf5
fix(web): prevent Safari clipping tour recovery prompt ( #41060 )
2026-08-21 09:19:38 +00:00
yyh
2ff3f7b533
refactor(web): migrate human input timeout field ( #41050 )
2026-08-21 06:38:20 +00:00
yyh
720e1fab9b
refactor(dify-ui): expose slider anatomy ( #41045 )
2026-08-21 03:15:45 +00:00
Stephen Zhou
e6fe2cd5d7
Merge remote-tracking branch 'origin/main' into deploy/konwledge
...
# Conflicts:
# api/tests/unit_tests/controllers/inner_api/test_auth_wraps.py
# api/tests/unit_tests/services/test_async_workflow_service.py
# web/features/new-rag/__tests__/new-knowledge-list.spec.tsx
2026-08-21 10:39:39 +08:00
WH-2099
edc805c453
fix(api): enforce app-scoped access on indirect resources ( #40893 )
2026-08-21 00:52:39 +00:00