feat: add sglang parameters

This commit is contained in:
jialin
2025-10-29 18:56:41 +08:00
parent c077db1129
commit b77f796661
8 changed files with 1477 additions and 7 deletions
+2 -3
View File
@@ -9,8 +9,7 @@ import { modelCategories, ScheduleValueMap } from '../config';
import { backendOptionsMap } from '../config/backend-parameters';
import { useFormContext } from '../config/form-context';
import { FormData } from '../config/types';
import Backend from '../forms/backend';
import BackendParametersList from '../forms/backend-parameters-list';
import Backend from './backend';
const AdvanceConfig = () => {
const intl = useIntl();
@@ -64,7 +63,7 @@ const AdvanceConfig = () => {
></SealSelect>
</Form.Item>
<Backend></Backend>
<BackendParametersList></BackendParametersList>
<Form.Item<FormData> name="env">
<LabelSelector
label={intl.formatMessage({
+2
View File
@@ -15,6 +15,7 @@ import {
import { backendOptionsMap } from '../config/backend-parameters';
import { useFormContext } from '../config/form-context';
import { FormData } from '../config/types';
import BackendParametersList from './backend-parameters-list';
const BackendFields: React.FC = () => {
const intl = useIntl();
@@ -153,6 +154,7 @@ const BackendFields: React.FC = () => {
</Form.Item>
</>
)}
<BackendParametersList></BackendParametersList>
</>
);
};