test(grok): configure multipart media mapping
This commit is contained in:
1 parent
335edde9c8
commit
b4ad7fd363
1 file changed
+3
-2
@@ -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{
|
||||
|
||||
Reference in new issue
Block a user