We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a249ad6 commit d26e4d5Copy full SHA for d26e4d5
src/semantic-router/pkg/api/server_test.go
@@ -309,10 +309,17 @@ func TestOpenAIModelsEndpoint(t *testing.T) {
309
Name: "primary",
310
Address: "127.0.0.1", // Changed from localhost to IP address
311
Port: 8000,
312
- Models: []string{"gpt-4o-mini", "llama-3.1-8b-instruct"},
313
Weight: 1,
314
},
315
+ ModelConfig: map[string]config.ModelParams{
316
+ "gpt-4o-mini": {
317
+ PreferredEndpoints: []string{"primary"},
318
+ },
319
+ "llama-3.1-8b-instruct": {
320
321
322
323
}
324
325
apiServer := &ClassificationAPIServer{
0 commit comments