Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

[MISC] Fix blank LLM profile edit form and settings menu bold style (#1896)

Chandrasekharan Mfe023c08b4c0
diff --git a/frontend/src/components/custom-tools/add-llm-profile/AddLlmProfile.jsx b/frontend/src/components/custom-tools/add-llm-profile/AddLlmProfile.jsx
index a020540b2..bac0e5325 100644
--- a/frontend/src/components/custom-tools/add-llm-profile/AddLlmProfile.jsx
+++ b/frontend/src/components/custom-tools/add-llm-profile/AddLlmProfile.jsx
@@ -64,10 +64,6 @@ function AddLlmProfile({
useEffect(() => {
setAdaptorProfilesDropdown();
-
- return () => {
- setEditLlmProfileId(null);
- };
}, []);
// Load retrieval strategies when tool_id is available (only once)
@@ -163,7 +159,7 @@ function AddLlmProfile({
useEffect(() => {
if (resetForm) {
- form.resetFields();
+ form.setFieldsValue(formDetails);
setResetForm(false);
}
}, [formDetails]);
diff --git a/frontend/src/components/custom-tools/manage-llm-profiles/ManageLlmProfiles.jsx b/frontend/src/components/custom-tools/manage-llm-profiles/ManageLlmProfiles.jsx
index 3bb80d6cb..15d2263f6 100644
--- a/frontend/src/components/custom-tools/manage-llm-profiles/ManageLlmProfiles.jsx
+++ b/frontend/src/components/custom-tools/manage-llm-profiles/ManageLlmProfiles.jsx
@@ -166,6 +166,7 @@ function ManageLlmProfiles() {
}, [llmProfiles, defaultLlmProfile]);
const handleAddNewLlmProfileBtnClick = () => {
+ setEditLlmProfileId(null);
setIsAddLlm(true);
try {
diff --git a/frontend/src/components/settings/settings/Settings.css b/frontend/src/components/settings/settings/Settings.css
index 5a08144c9..d89b9291b 100644
--- a/frontend/src/components/settings/settings/Settings.css
+++ b/frontend/src/components/settings/settings/Settings.css
@@ -34,7 +34,6 @@
}
.settings-menu-item:first-child {
- font-weight: 600;
margin-bottom: 4px;
}