Skip to content

Commit

Permalink
Merge branch 'fix/workflow-knowledge-retrieval-validate' into deploy/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
zxhlyh committed Nov 12, 2024
2 parents 76dfc04 + 5e22a97 commit 5e8fc91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const getMultipleRetrievalConfig = (
}
}

if (reranking_mode === RerankingModeEnum.RerankingModel && !rerankModelIsValid) {
if (reranking_mode === RerankingModeEnum.RerankingModel && !rerankModelIsValid && shouldSetWeightDefaultValue) {
result.reranking_mode = RerankingModeEnum.WeightedScore
setDefaultWeights()
}
Expand Down

0 comments on commit 5e8fc91

Please sign in to comment.