fix: historical chats appear in the new user's chat box #256 (#282)

### What problem does this PR solve?

historical chats appear in the new user's chat box

Issue link:#256

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-04-09 19:01:57 +08:00
committed by GitHub
parent 653c759d8d
commit 28d29949c6
7 changed files with 251 additions and 162 deletions

View File

@ -31,9 +31,9 @@ const AssistantSetting = ({ show }: ISegmentedContentProps) => {
<Form.Item
name={'name'}
label={t('assistantName')}
rules={[{ required: true }]}
rules={[{ required: true, message: t('assistantNameMessage') }]}
>
<Input placeholder="e.g. Resume Jarvis" />
<Input placeholder={t('namePlaceholder')} />
</Form.Item>
<Form.Item
name="icon"
@ -90,7 +90,7 @@ const AssistantSetting = ({ show }: ISegmentedContentProps) => {
rules={[
{
required: true,
message: 'Please select!',
message: t('knowledgeBasesMessage'),
type: 'array',
},
]}