fix(openai): keep xhigh normalization scoped to messages

This commit is contained in:
YanzheL
2026-03-29 21:09:19 +08:00
parent ff5b467fbe
commit f2c2abe628
2 changed files with 0 additions and 14 deletions

View File

@@ -58,19 +58,6 @@ func TestResolveOpenAIForwardModel(t *testing.T) {
defaultMappedModel: "gpt-4o-mini",
expectedModel: "gpt-5.4",
},
{
name: "normalizes gpt reasoning alias before passthrough mapping",
account: &Account{
Credentials: map[string]any{
"model_mapping": map[string]any{
"gpt-5.4": "gpt-5.4",
},
},
},
requestedModel: "gpt-5.4-xhigh",
defaultMappedModel: "gpt-5.1",
expectedModel: "gpt-5.4",
},
}
for _, tt := range tests {