fix: enable_model_route

This commit is contained in:
jialin
2026-02-03 18:21:08 +08:00
parent 46969702a8
commit 11039a5c82
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ const AdvanceConfig = () => {
const form = Form.useFormInstance();
const EnviromentVars = Form.useWatch('env', form);
const backend = Form.useWatch('backend', form);
const modelAccessEnable = Form.useWatch('enable_model_access', form);
const modelAccessEnable = Form.useWatch('enable_model_route', form);
const {
onValuesChange,
backendOptions,
@@ -134,7 +134,7 @@ const AdvanceConfig = () => {
></CheckboxField>
</Form.Item>
<Form.Item<FormData>
name="enable_model_access"
name="enable_model_route"
valuePropName="checked"
style={{ marginBottom: 8 }}
>
+1 -1
View File
@@ -430,7 +430,7 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
restart_on_error: true,
distributed_inference_across_workers: true,
mode: 'throughput',
enable_model_access: true,
enable_model_route: true,
generic_proxy: false,
extended_kv_cache: {
enabled: false,