File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,7 @@ metadata:
182182spec :
183183 directResponse :
184184 body :
185- inline : No matching route found. It is likely that the model specified your
186- request is not configured in the Gateway.
185+ inline : No matching route found. It is likely because the model specified in your request is not configured in the Gateway.
187186 type : null
188187 statusCode : 404
189188---
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ func generateHTTPRouteFilters(aiGatewayRoute *aigv1a1.AIGatewayRoute) []*egv1a1.
146146 Body : & egv1a1.CustomResponseBody {
147147 Inline : ptr .To (
148148 // "Likely" since the matching rule can be arbitrary, not necessarily matching on the model name.
149- `No matching route found. It is likely that the model specified your request is not configured in the Gateway.` ,
149+ `No matching route found. It is likely because the model specified in your request is not configured in the Gateway.` ,
150150 ),
151151 },
152152 },
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ func TestWithTestUpstream(t *testing.T) {
8383 name : "openai" ,
8484 modelName : "non-existent-model" ,
8585 expStatus : 404 ,
86- expResponseBody : `No matching route found. It is likely that the model specified your request is not configured in the Gateway.` ,
86+ expResponseBody : `No matching route found. It is likely because the model specified in your request is not configured in the Gateway.` ,
8787 },
8888 {
8989 name : "openai-header-mutation" ,
You can’t perform that action at this time.
0 commit comments