fix: #567 use modal to upload files in the knowledge base (#601)

### What problem does this PR solve?

fix:  #567 use modal to upload files in the knowledge base

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-04-29 15:45:19 +08:00
committed by GitHub
parent 6874c6f3a7
commit 38f0cc016f
13 changed files with 262 additions and 20 deletions

View File

@@ -1,5 +1,9 @@
.modelWrapper {
width: 100%;
}
.modelContainer {
width: 100%;
.factoryOperationWrapper {
text-align: right;
}

View File

@@ -223,9 +223,9 @@ const UserSettingModel = () => {
];
return (
<>
<section id="xx" className={styles.modelWrapper}>
<Spin spinning={loading}>
<section className={styles.modelWrapper}>
<section className={styles.modelContainer}>
<SettingTitle
title={t('model')}
description={t('modelDescription')}
@@ -257,7 +257,7 @@ const UserSettingModel = () => {
loading={llmAddingLoading}
llmFactory={selectedLlmFactory}
></OllamaModal>
</>
</section>
);
};