fix: refine upstream update ignore UX and detect behavior

This commit is contained in:
Seefs
2026-03-03 14:00:48 +08:00
parent 70821e2051
commit f6f5a6f875
4 changed files with 34 additions and 26 deletions

View File

@@ -3291,6 +3291,18 @@ const EditChannelModal = (props) => {
inputs.upstream_model_update_last_check_time,
)}
</div>
<Form.Input
field='upstream_model_update_ignored_models'
label={t('已忽略模型')}
placeholder={t('例如gpt-4.1-nano,gpt-4o-mini')}
onChange={(value) =>
handleInputChange(
'upstream_model_update_ignored_models',
value,
)
}
showClear
/>
</>
)}
@@ -3460,19 +3472,6 @@ const EditChannelModal = (props) => {
)}
/>
<Form.Input
field='upstream_model_update_ignored_models'
label={t('手动忽略模型(逗号分隔)')}
placeholder={t('例如gpt-4.1-nano,gpt-4o-mini')}
onChange={(value) =>
handleInputChange(
'upstream_model_update_ignored_models',
value,
)
}
showClear
/>
<div className='text-xs text-gray-500 mb-3'>
{t('上次检测到可加入模型')}:&nbsp;
{upstreamDetectedModels.length === 0 ? (