langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
46.76k stars 6.61k forks source link

fix(workflow/nodes/knowledge-retrieval/use-config): Preserve rerankin… #8842

Closed Kevin9703 closed 1 day ago

Kevin9703 commented 1 day ago

…g mode and weights in knowledge retrieval node

Checklist:

[!IMPORTANT]
Please review the checklist below before submitting your pull request.

Description

In the workflow, where a knowledge retrieval node would automatically revert to the RerankModel when set to WeightedScore. The problem was caused by missing parameters in the frontend data transmission to the backend.

Fixes #8854

Type of Change

Testing Instructions

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

crazywoola commented 1 day ago

Is there any related issues?

Kevin9703 commented 1 day ago

Is there any related issues?

I apologize for not linking a related issue. I'll create an issue and associate it with this PR right away.

Kevin9703 commented 1 day ago

Is there any related issues?

Please check #8854