dify/web/app
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
..
__tests__ fix(web): stabilize Home and Studio route titles (#41654) 2026-09-02 09:03:58 +00:00
(commonLayout) lint tailwind 2026-09-03 11:00:41 +08:00
(education) refactor(web): move education verification to dedicated routes (#40493) 2026-08-11 09:56:11 +00:00
(humanInputLayout)/form/[token] fix: add semantic document titles across pages (#40396) 2026-08-14 03:29:16 +00:00
(shareLayout) refactor(web): migrate webapp email code inputs (#41634) 2026-09-02 06:22:21 +00:00
account fix(web): align avatar file extension with output type (#41662) 2026-09-02 10:22:59 +00:00
activate fix(web): preserve link semantics in button-styled navigation (#41312) 2026-08-26 10:50:06 +00:00
auth/refresh chore: upgrade Vite+ to 0.2.9 (#40762) 2026-08-14 04:42:28 +00:00
components fix(workflow): let the KnowledgeFS retrieval node run on text or image alone 2026-09-03 01:52:19 -04:00
device fix(web): preserve link semantics in button-styled navigation (#41312) 2026-08-26 10:50:06 +00:00
education refactor(dify-ui): rename radio family entrypoint (#41104) 2026-08-23 08:08:29 +00:00
forgot-password fix(web): preserve link semantics in button-styled navigation (#41312) 2026-08-26 10:50:06 +00:00
init fix: add semantic document titles across pages (#40396) 2026-08-14 03:29:16 +00:00
install feat: support agent skill (#39675) 2026-08-24 05:29:14 +00:00
oauth-callback fix: add semantic document titles across pages (#40396) 2026-08-14 03:29:16 +00:00
reset-password refactor(web): migrate console reset password inputs (#41632) 2026-09-02 06:22:19 +00:00
signin lint tailwind 2026-09-03 11:00:41 +08:00
signup fix: improve login and signup accessibility (#41301) 2026-08-26 08:16:15 +00:00
styles Merge remote-tracking branch 'origin/main' into deploy/konwledge 2026-08-27 10:06:48 +08:00
error.tsx refactor: centralize deployment edition in system features (#39454) 2026-07-24 07:15:02 +00:00
get-query-client.ts refactor(web): align query client ownership (#40024) 2026-08-05 07:02:09 +00:00
layout.tsx fix(web): give the favicon a single owner in root metadata (#41433) 2026-08-28 08:57:04 +00:00
query-provider.tsx refactor(web): align query client ownership (#40024) 2026-08-05 07:02:09 +00:00
route-metadata.ts fix: add semantic document titles across pages (#40396) 2026-08-14 03:29:16 +00:00