chore: quick create route

This commit is contained in:
jialin
2026-02-12 12:20:05 +08:00
parent b21fe0ac4c
commit 07664b5f22
21 changed files with 202 additions and 47 deletions
@@ -98,7 +98,7 @@ const SupportedModels = () => {
if (!value || value.length === 0) {
return Promise.reject(
new Error(
getRuleMessage('input', 'providers.form.rules.models')
intl.formatMessage({ id: 'providers.form.rules.models' })
)
);
}
@@ -106,7 +106,7 @@ const SupportedModels = () => {
if (value.some((item: ProviderModel) => !item.name)) {
return Promise.reject(
new Error(
getRuleMessage('select', 'providers.form.rules.model')
intl.formatMessage({ id: 'providers.form.rules.model' })
)
);
}