|
|
|
|
|
|
|
|
}: { |
|
|
}: { |
|
|
initialValue: number; |
|
|
initialValue: number; |
|
|
}) => { |
|
|
}) => { |
|
|
const { t } = useTranslation('flow'); |
|
|
|
|
|
|
|
|
const { t } = useTranslation(); |
|
|
|
|
|
|
|
|
return ( |
|
|
return ( |
|
|
<Form.Item |
|
|
<Form.Item |
|
|
name={'message_history_window_size'} |
|
|
name={'message_history_window_size'} |
|
|
label={t('messageHistoryWindowSize')} |
|
|
|
|
|
|
|
|
label={t('flow.messageHistoryWindowSize')} |
|
|
initialValue={initialValue} |
|
|
initialValue={initialValue} |
|
|
tooltip={t('messageHistoryWindowSizeTip')} |
|
|
|
|
|
|
|
|
tooltip={t('flow.messageHistoryWindowSizeTip')} |
|
|
> |
|
|
> |
|
|
<InputNumber style={{ width: '100%' }} /> |
|
|
<InputNumber style={{ width: '100%' }} /> |
|
|
</Form.Item> |
|
|
</Form.Item> |