fix: default_env field not display in backend editing yaml

This commit is contained in:
jialin
2026-03-02 10:21:21 +08:00
parent 76a3e5cfcf
commit cf521ad79e
3 changed files with 8 additions and 8 deletions
+5 -2
View File
@@ -192,7 +192,8 @@ export const customBackendFields = [
'health_check_path',
'default_run_command',
'version_configs',
'default_backend_param'
'default_backend_param',
'default_env'
];
/**
@@ -201,7 +202,8 @@ export const customBackendFields = [
export const builtInBackendFields = [
'description',
'version_configs',
'default_backend_param'
'default_backend_param',
'default_env'
];
export const frameworks = [
@@ -278,6 +280,7 @@ export const yamlTemplate = `# ----------------------------------------
# - custom_framework:
# - required
# - choose from: ${Object.values(GPUDriverMap).join(', ')}, cpu
# - env: optional, map of env key and value
backend_name: vllm-custom
description: this is my custom vllm backend