mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-05 20:49:48 +02:00
cohere validation logic update (#4523)
This commit is contained in:
parent
7c4487585d
commit
1430a18d44
@ -76,7 +76,7 @@ const RerankingDetailsForm = forwardRef<
|
||||
function (value) {
|
||||
const { rerank_provider_type } = this.parent;
|
||||
return (
|
||||
rerank_provider_type === RerankerProvider.LITELLM ||
|
||||
rerank_provider_type !== RerankerProvider.COHERE ||
|
||||
(value !== null && value !== "")
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user