mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### 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:
@ -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',
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user