Demonstrate overlay model routing in prototype
This commit is contained in:
@@ -50,9 +50,9 @@ func demonstrationClient() *http.Client {
|
||||
return providerResponse(200, "not JSON", nil), nil
|
||||
}
|
||||
switch body.Model {
|
||||
case "synthetic-grammar":
|
||||
case "synthetic-grammar", "synthetic-grammar-testing":
|
||||
return providerResponse(200, validProposal, nil), nil
|
||||
case "synthetic-review":
|
||||
case "synthetic-review", "synthetic-review-testing":
|
||||
return providerResponse(200, validAssessment, nil), nil
|
||||
default:
|
||||
return nil, fmt.Errorf("unexpected synthetic model")
|
||||
|
||||
Reference in New Issue
Block a user