cohere validation logic update (#4523)

This commit is contained in:
pablonyx 2025-04-14 14:49:22 -07:00 committed by GitHub
parent 7c4487585d
commit 1430a18d44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 !== "")
);
}