diff --git a/src/containers/Assistants/AssistantDetail/ConfigEditor.test.tsx b/src/containers/Assistants/AssistantDetail/ConfigEditor.test.tsx
index e87646a21..08f30283c 100644
--- a/src/containers/Assistants/AssistantDetail/ConfigEditor.test.tsx
+++ b/src/containers/Assistants/AssistantDetail/ConfigEditor.test.tsx
@@ -259,7 +259,7 @@ describe('ConfigEditor — settings parsing', () => {
},
});
- expect(screen.getByRole('sliderDisplay')).toHaveValue(0.7);
+ expect(screen.getByTestId('sliderDisplay')).toHaveValue(0.7);
});
it('falls back to default model (gpt-4o) when version.model is null', () => {
@@ -271,7 +271,7 @@ describe('ConfigEditor — settings parsing', () => {
it('falls back to temperature 0.1 when settings is null', () => {
renderEdit({ version: { ...mockVersion, settings: null } });
- expect(screen.getByRole('sliderDisplay')).toHaveValue(0.1);
+ expect(screen.getByTestId('sliderDisplay')).toHaveValue(0.1);
});
});
diff --git a/src/containers/Assistants/AssistantDetail/ConfigEditor.tsx b/src/containers/Assistants/AssistantDetail/ConfigEditor.tsx
index 6706435d2..a8b854fed 100644
--- a/src/containers/Assistants/AssistantDetail/ConfigEditor.tsx
+++ b/src/containers/Assistants/AssistantDetail/ConfigEditor.tsx
@@ -16,7 +16,7 @@ import { GET_ASSISTANT, GET_ASSISTANT_VERSIONS } from 'graphql/queries/Assistant
import ExpandIcon from 'assets/images/icons/ExpandContent.svg?react';
-import { AssistantOptions } from '../AssistantOptions/AssistantOptions';
+import { KnowledgeBaseOptions } from '../AssistantOptions/KnowledgeBaseOptions';
import type { AssistantVersion } from '../VersionPanel/VersionPanel';
import styles from './ConfigEditor.module.css';
@@ -249,7 +249,7 @@ export const ConfigEditor = ({
disabled: newVersionInProgress,
},
{
- component: AssistantOptions,
+ component: KnowledgeBaseOptions,
name: 'assistantOptions',
formikValues: formik.values,
setFieldValue: formik.setFieldValue,
@@ -342,7 +342,7 @@ export const ConfigEditor = ({
data-testid="saveVersionButton"
onClick={formik.submitForm}
loading={savingChanges || creating}
- disabled={newVersionInProgress || savingChanges || creating}
+ disabled={newVersionInProgress || savingChanges || creating || !hasUnsavedChanges}
>
{t('Save')}
@@ -363,11 +363,6 @@ export const ConfigEditor = ({
{t('You are adding more files to existing Knowledge Base')}
-- Information in the attached files will be available to this assistant.{' '} - - Allowed file formats - -
-- Individual File Limit: {MAX_FILE_SIZE_MB}MB -
+