fix: add model input max length

This commit is contained in:
kangfenmao 2025-02-03 10:52:21 +08:00
parent 44991edfbd
commit d12fc29515

View File

@ -101,7 +101,7 @@ const PopupContainer: React.FC<Props> = ({ title, provider, resolve }) => {
<Input
placeholder={t('settings.models.add.model_id.placeholder')}
spellCheck={false}
maxLength={50}
maxLength={200}
onChange={(e) => {
form.setFieldValue('name', e.target.value)
form.setFieldValue('group', getDefaultGroupName(e.target.value))