fix(style): add backend

This commit is contained in:
jialin
2025-10-23 18:41:16 +08:00
parent 1a082529c6
commit 53b431f100
11 changed files with 44 additions and 25 deletions
+3 -3
View File
@@ -153,14 +153,14 @@ export const yamlTemplate = `# backend configuration template
backend_name: my-backend
description: this is my-backend
default_version: v0.5.1
health_check_path: /health
health_check_path: /v1/models
default_backend_param:
- --host
default_run_command: myBackend serve {model} --port {port}
default_run_command: myBackend serve {{model}} --port {{port}}
version_configs:
v0.0.1:
image_name: lm/mybackend:latest
run_command: myBackend serve {model} --port {port}
run_command: myBackend serve {{model}} --port {{port}}
custom_framework: cuda
v0.0.2:
image_name: lm/mybackend:test