diff --git a/web/src/app/admin/embeddings/RerankingFormPage.tsx b/web/src/app/admin/embeddings/RerankingFormPage.tsx index 8c02fe643eb..733c5ebd9af 100644 --- a/web/src/app/admin/embeddings/RerankingFormPage.tsx +++ b/web/src/app/admin/embeddings/RerankingFormPage.tsx @@ -192,15 +192,19 @@ const RerankingDetailsForm = forwardRef< >
) => { const value = e.target.value; - setRerankingDetails({ ...values, api_key: value }); - setFieldValue("api_key", value); + setRerankingDetails({ + ...values, + rerank_api_key: value, + }); + setFieldValue("rerank_api_key", value); + console.log("HIII"); }} type="password" label="Cohere API Key" - name="api_key" + name="rerank_api_key" />