mirror of
https://github.com/langgenius/dify.git
synced 2026-09-05 08:48:10 +08:00
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 |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| access-rules-editor | ||
| api-key | ||
| app | ||
| app-sidebar | ||
| apps | ||
| base | ||
| billing | ||
| custom | ||
| datasets | ||
| detail-sidebar | ||
| devtools | ||
| explore | ||
| goto-anything | ||
| header | ||
| integrations | ||
| main-nav | ||
| plugins | ||
| provider | ||
| rag-pipeline | ||
| share/text-generation | ||
| signin | ||
| snippet-list | ||
| snippets | ||
| step-by-step-tour | ||
| tools | ||
| workflow | ||
| workflow-app | ||
| external-attribution-recorder.tsx | ||
| full-screen-loading.tsx | ||
| oauth-registration-analytics.tsx | ||