File tree Expand file tree Collapse file tree 5 files changed +10
-21
lines changed Expand file tree Collapse file tree 5 files changed +10
-21
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ vllm_endpoints:
34
34
models :
35
35
- " openai/gpt-oss-20b"
36
36
weight : 1
37
- health_check_path : " /health"
38
37
39
38
model_config :
40
39
" openai/gpt-oss-20b " :
Original file line number Diff line number Diff line change @@ -30,14 +30,12 @@ vllm_endpoints:
30
30
- " phi4"
31
31
- " gemma3:27b"
32
32
weight : 1 # Load balancing weight
33
- health_check_path : " /health" # Optional health check endpoint
34
33
- name : " endpoint2"
35
34
address : " 127.0.0.1"
36
35
port : 11434
37
36
models :
38
37
- " mistral-small3.1"
39
38
weight : 1
40
- health_check_path : " /health"
41
39
- name : " endpoint3"
42
40
address : " 127.0.0.1"
43
41
port : 11434
Original file line number Diff line number Diff line change @@ -184,9 +184,6 @@ type VLLMEndpoint struct {
184
184
185
185
// Load balancing weight for this endpoint
186
186
Weight int `yaml:"weight,omitempty"`
187
-
188
- // Health check path for this endpoint
189
- HealthCheckPath string `yaml:"health_check_path,omitempty"`
190
187
}
191
188
192
189
// ModelPricing represents configuration for model-specific parameters
Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ vllm_endpoints:
96
96
- "model-a"
97
97
- "model-b"
98
98
weight: 1
99
- health_check_path: "/health"
100
99
- name: "endpoint2"
101
100
address: "127.0.0.1"
102
101
port: 8000
@@ -180,7 +179,6 @@ tools:
180
179
Expect (cfg .VLLMEndpoints [0 ].Port ).To (Equal (8000 ))
181
180
Expect (cfg .VLLMEndpoints [0 ].Models ).To (ContainElements ("model-a" , "model-b" ))
182
181
Expect (cfg .VLLMEndpoints [0 ].Weight ).To (Equal (1 ))
183
- Expect (cfg .VLLMEndpoints [0 ].HealthCheckPath ).To (Equal ("/health" ))
184
182
185
183
Expect (cfg .VLLMEndpoints [1 ].Name ).To (Equal ("endpoint2" ))
186
184
Expect (cfg .VLLMEndpoints [1 ].Address ).To (Equal ("127.0.0.1" ))
@@ -794,7 +792,6 @@ vllm_endpoints:
794
792
- "model-a"
795
793
- "model-b"
796
794
weight: 1
797
- health_check_path: "/health"
798
795
- name: "endpoint2"
799
796
address: "127.0.0.1"
800
797
port: 8000
Original file line number Diff line number Diff line change @@ -172,20 +172,18 @@ func CreateTestConfig() *config.RouterConfig {
172
172
},
173
173
VLLMEndpoints : []config.VLLMEndpoint {
174
174
{
175
- Name : "test-endpoint1" ,
176
- Address : "127.0.0.1" ,
177
- Port : 8000 ,
178
- Models : []string {"model-a" , "model-b" },
179
- Weight : 1 ,
180
- HealthCheckPath : "/health" ,
175
+ Name : "test-endpoint1" ,
176
+ Address : "127.0.0.1" ,
177
+ Port : 8000 ,
178
+ Models : []string {"model-a" , "model-b" },
179
+ Weight : 1 ,
181
180
},
182
181
{
183
- Name : "test-endpoint2" ,
184
- Address : "127.0.0.1" ,
185
- Port : 8001 ,
186
- Models : []string {"model-b" },
187
- Weight : 2 ,
188
- HealthCheckPath : "/health" ,
182
+ Name : "test-endpoint2" ,
183
+ Address : "127.0.0.1" ,
184
+ Port : 8001 ,
185
+ Models : []string {"model-b" },
186
+ Weight : 2 ,
189
187
},
190
188
},
191
189
}
You can’t perform that action at this time.
0 commit comments