chore: small fixes and optimizations
This commit is contained in:
@@ -212,7 +212,7 @@ const AccessControlForm = forwardRef((props: AccessControlFormProps, ref) => {
|
||||
id: 'models.accessControlModal.includeusers'
|
||||
})}
|
||||
</span>
|
||||
<DownOutlined />
|
||||
<DownOutlined style={{ fontSize: 12 }} />
|
||||
</span>
|
||||
</Dropdown>
|
||||
);
|
||||
|
||||
@@ -7,6 +7,10 @@ export const backendTipsList = [
|
||||
title: 'vLLM',
|
||||
tips: 'models.form.backend.vllm'
|
||||
},
|
||||
{
|
||||
title: 'SGLang',
|
||||
tips: 'models.form.backend.sglang'
|
||||
},
|
||||
{
|
||||
title: 'Ascend MindIE',
|
||||
tips: 'models.form.backend.mindie'
|
||||
|
||||
@@ -125,18 +125,18 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
|
||||
icon: <IconFont type="icon-basic" />,
|
||||
field: 'name'
|
||||
},
|
||||
{
|
||||
value: TABKeysMap.SCHEDULING,
|
||||
label: intl.formatMessage({ id: 'models.form.scheduling' }),
|
||||
icon: <IconFont type="icon-model" />,
|
||||
field: 'scheduleType'
|
||||
},
|
||||
{
|
||||
value: TABKeysMap.PERFORMANCE,
|
||||
label: intl.formatMessage({ id: 'models.form.performance' }),
|
||||
icon: <IconFont type="icon-speed" />,
|
||||
field: 'extended_kv_cache.enabled'
|
||||
},
|
||||
{
|
||||
value: TABKeysMap.SCHEDULING,
|
||||
label: intl.formatMessage({ id: 'models.form.scheduling' }),
|
||||
icon: <IconFont type="icon-model" />,
|
||||
field: 'scheduleType'
|
||||
},
|
||||
{
|
||||
value: TABKeysMap.ADVANCED,
|
||||
label: intl.formatMessage({ id: 'resources.form.advanced' }),
|
||||
@@ -476,18 +476,18 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
|
||||
accordion={false}
|
||||
onChange={handleOnCollapseChange}
|
||||
items={[
|
||||
{
|
||||
key: TABKeysMap.SCHEDULING,
|
||||
label: intl.formatMessage({ id: 'models.form.scheduling' }),
|
||||
forceRender: true,
|
||||
children: <ScheduleTypeForm></ScheduleTypeForm>
|
||||
},
|
||||
{
|
||||
key: TABKeysMap.PERFORMANCE,
|
||||
label: intl.formatMessage({ id: 'models.form.performance' }),
|
||||
forceRender: true,
|
||||
children: <Performance></Performance>
|
||||
},
|
||||
{
|
||||
key: TABKeysMap.SCHEDULING,
|
||||
label: intl.formatMessage({ id: 'models.form.scheduling' }),
|
||||
forceRender: true,
|
||||
children: <ScheduleTypeForm></ScheduleTypeForm>
|
||||
},
|
||||
{
|
||||
key: TABKeysMap.ADVANCED,
|
||||
label: intl.formatMessage({ id: 'resources.form.advanced' }),
|
||||
|
||||
Reference in New Issue
Block a user