mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-14 10:00:53 +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) {
|
function (value) {
|
||||||
const { rerank_provider_type } = this.parent;
|
const { rerank_provider_type } = this.parent;
|
||||||
return (
|
return (
|
||||||
rerank_provider_type === RerankerProvider.LITELLM ||
|
rerank_provider_type !== RerankerProvider.COHERE ||
|
||||||
(value !== null && value !== "")
|
(value !== null && value !== "")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user