test(grok): configure multipart media mapping

This commit is contained in:
Heatherm Huang
2026-07-18 15:49:21 +08:00
parent 335edde9c8
commit b4ad7fd363
@@ -749,8 +749,9 @@ func TestForwardGrokMediaImagesEditMultipartConvertsToJSON(t *testing.T) {
Type: AccountTypeAPIKey,
Concurrency: 1,
Credentials: map[string]any{
"api_key": "api-key",
"base_url": "https://xai.test/v1",
"api_key": "api-key",
"base_url": "https://xai.test/v1",
"model_mapping": map[string]any{"grok-imagine-edit": "vendor-image-edit"},
},
}
upstream := &httpUpstreamRecorder{resp: &http.Response{