Demonstrate overlay model routing in prototype

This commit is contained in:
2026-09-24 00:19:51 +00:00
parent 2d8b441802
commit 228ac4e26d
5 changed files with 153 additions and 29 deletions

View File

@@ -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")