-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrequests_expected_differences.json
More file actions
1098 lines (1098 loc) · 50.9 KB
/
Copy pathrequests_expected_differences.json
File metadata and controls
1098 lines (1098 loc) · 50.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"global": [
{
"source": "*",
"target": "*",
"fields": [
{ "pattern": "params.service_tier", "reason": "OpenAI-specific billing tier not universal across providers" },
{ "pattern": "messages[*].id", "reason": "Message/response IDs are provider-specific (OpenAI uses response-level IDs, Anthropic uses message-level IDs, Bedrock has none)" },
{ "pattern": "params.reasoning.canonical", "reason": "Metadata indicating source format (effort vs budget_tokens) - changes when converting between providers with different canonical representations" }
]
},
{
"source": "*",
"target": "Anthropic",
"fields": [
{ "pattern": "params.reasoning.summary", "reason": "Anthropic doesn't support reasoning summary" },
{ "pattern": "params.response_format.format_type", "reason": "Anthropic converts json_object to json_schema" },
{ "pattern": "params.response_format.json_schema.name", "reason": "Anthropic rejects 'name' field" },
{ "pattern": "params.response_format.json_schema.strict", "reason": "Anthropic rejects 'strict' field" },
{ "pattern": "params.response_format.json_schema", "reason": "Anthropic uses different json_schema format" },
{ "pattern": "params.response_format", "reason": "Anthropic doesn't support Text format type" },
{ "pattern": "params.metadata", "reason": "Anthropic only accepts user_id in metadata" },
{ "pattern": "params.parallel_tool_calls", "reason": "Anthropic only supports disable_parallel via tool_choice" },
{ "pattern": "params.tool_choice", "reason": "Anthropic requires tool_choice to express disable_parallel_tool_use" },
{ "pattern": "params.logprobs", "reason": "Anthropic doesn't support logprobs (silently dropped)" },
{ "pattern": "params.top_logprobs", "reason": "Anthropic doesn't support top_logprobs (silently dropped)" },
{ "pattern": "params.frequency_penalty", "reason": "Anthropic doesn't support frequency_penalty (silently dropped)" },
{ "pattern": "params.presence_penalty", "reason": "Anthropic doesn't support presence_penalty (silently dropped)" },
{ "pattern": "params.seed", "reason": "Anthropic doesn't support seed (silently dropped)" },
{ "pattern": "params.store", "reason": "Anthropic doesn't support store (silently dropped)" },
{ "pattern": "params.temperature", "reason": "Anthropic drops temperature when extended thinking is enabled" },
{ "pattern": "params.reasoning.effort", "reason": "Cross-canonical conversion (effort→budget_tokens) may quantize when max_tokens is very small" }
]
},
{
"source": "*",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.reasoning.summary", "reason": "ChatCompletions doesn't support reasoning summary" },
{ "pattern": "params.top_k", "reason": "ChatCompletions doesn't support top_k (silently dropped)" }
],
"errors": [
{ "pattern": "is not supported by OpenAI Chat Completions", "reason": "Provider-specific built-in tool has no OpenAI equivalent" },
{ "pattern": "is not supported by openai", "reason": "Provider-specific built-in tool has no OpenAI equivalent" },
{ "pattern": "Unsupported input type: UserContentPart variant: File", "reason": "Anthropic document blocks not supported in OpenAI" },
{ "pattern": "UserContentPart::File", "reason": "OpenAI doesn't support File content parts" },
{ "pattern": "AssistantContentPart::File", "reason": "OpenAI doesn't support File content in assistant messages" }
]
},
{
"source": "ChatCompletions",
"target": "*",
"fields": [
{ "pattern": "messages[*].refusal", "reason": "ChatCompletions refusal field has no equivalent in other providers" },
{ "pattern": "messages[*].annotations", "reason": "ChatCompletions annotations field has no equivalent in other providers" }
]
},
{
"source": "*",
"target": "Responses",
"fields": [
{ "pattern": "params.top_k", "reason": "Responses API doesn't support top_k (silently dropped)" },
{ "pattern": "params.stop", "reason": "Responses API doesn't support stop sequences (silently dropped)" },
{ "pattern": "messages[*].content[*].cache_control", "reason": "Responses requests do not support Anthropic-style content-block cache_control metadata" }
],
"errors": [
{ "pattern": "is not supported by OpenAI Responses API", "reason": "Provider-specific built-in tool has no OpenAI equivalent" },
{ "pattern": "is not supported by responses", "reason": "Provider-specific built-in tool has no OpenAI equivalent" },
{ "pattern": "Unsupported input type: UserContentPart variant: File", "reason": "Anthropic document blocks not supported in OpenAI" },
{ "pattern": "UserContentPart::File", "reason": "OpenAI doesn't support File content parts" },
{ "pattern": "AssistantContentPart::File", "reason": "OpenAI doesn't support File content in assistant messages" },
{ "pattern": "ToolResult { tool_name: \"web_search\"", "reason": "Anthropic web_search encrypted results cannot be transformed to OpenAI" }
]
},
{
"source": "ChatCompletions",
"target": "Responses",
"fields": [
{ "pattern": "params.frequency_penalty", "reason": "Responses API doesn't support frequency_penalty" },
{ "pattern": "params.presence_penalty", "reason": "Responses API doesn't support presence_penalty" },
{ "pattern": "params.seed", "reason": "Responses API doesn't support seed" },
{ "pattern": "params.logprobs", "reason": "Responses API doesn't support logprobs boolean (use top_logprobs)" }
]
},
{
"source": "Anthropic",
"target": "Responses",
"fields": [
{ "pattern": "params.reasoning.budget_tokens", "reason": "OpenAI uses effort levels, budget_tokens gets quantized" },
{ "pattern": "params.tools", "reason": "Anthropic built-in tools are provider-specific; bash is not a lossless equivalent of OpenAI Responses code_interpreter" },
{ "pattern": "messages.length", "reason": "Responses API expands tool messages to separate function_call_output items" },
{ "pattern": "messages[*].content[*].provider_options", "reason": "Anthropic provider-specific content metadata is not preserved by OpenAI Responses requests" }
]
},
{
"source": "Anthropic",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.reasoning.budget_tokens", "reason": "OpenAI uses effort levels, budget_tokens gets quantized" },
{ "pattern": "params.tools", "reason": "Anthropic built-in tools are provider-specific; bash is not supported by OpenAI Chat Completions" },
{ "pattern": "messages[*].content[*].provider_options", "reason": "Anthropic per-block cache_control metadata has no OpenAI request equivalent" }
]
},
{
"source": "*",
"target": "Bedrock",
"fields": [
{ "pattern": "params.temperature", "reason": "Bedrock requires temperature=1.0 for extended thinking" },
{ "pattern": "params.stream", "reason": "Bedrock uses endpoint-based streaming" },
{ "pattern": "params.metadata", "reason": "Bedrock doesn't support metadata" },
{ "pattern": "params.reasoning.effort", "reason": "Cross-canonical conversion (effort→budget_tokens) may quantize when max_tokens is very small" },
{ "pattern": "params.reasoning.summary", "reason": "Bedrock doesn't support reasoning summary" }
]
},
{
"source": "*",
"target": "Bedrock Anthropic",
"fields": [
{ "pattern": "model", "reason": "Bedrock Anthropic invoke body omits model (selected by URL path)" },
{ "pattern": "params.stream", "reason": "Bedrock Anthropic uses endpoint-based streaming" }
]
},
{
"source": "*",
"target": "Vertex Anthropic",
"fields": [
{ "pattern": "model", "reason": "Vertex Anthropic rawPredict body omits model (selected by URL path)" },
{ "pattern": "params.stream", "reason": "Vertex Anthropic uses endpoint-based streaming" }
]
},
{
"source": "*",
"target": "Google",
"fields": [
{ "pattern": "params.stream", "reason": "Google uses endpoint-based streaming" },
{ "pattern": "params.metadata", "reason": "Google doesn't support metadata" },
{ "pattern": "params.reasoning.effort", "reason": "Cross-canonical conversion (effort→budget_tokens) may quantize when max_tokens is very small" },
{ "pattern": "params.reasoning.summary", "reason": "Google doesn't support reasoning summary" },
{ "pattern": "params.parallel_tool_calls", "reason": "Google doesn't support parallel_tool_calls parameter" },
{ "pattern": "params.store", "reason": "Google doesn't support store parameter" },
{ "pattern": "messages[*].content[*].cache_control", "reason": "Google requests do not support Anthropic-style content-block cache_control metadata" },
{ "pattern": "params.frequency_penalty", "reason": "Google doesn't support frequency_penalty" },
{ "pattern": "params.presence_penalty", "reason": "Google doesn't support presence_penalty" },
{ "pattern": "params.seed", "reason": "Google doesn't support seed" },
{ "pattern": "params.logprobs", "reason": "Google doesn't support logprobs" },
{ "pattern": "params.top_logprobs", "reason": "Google doesn't support top_logprobs" },
{ "pattern": "params.tools[*].strict", "reason": "Google doesn't support strict mode for tools" },
{ "pattern": "messages[*].content[*].output", "reason": "Google wraps string tool result output in an object ({\"output\": ...})" },
{ "pattern": "params.temperature", "reason": "Google uses f32 for temperature, causing precision loss (0.7 → 0.699999988079071)" },
{ "pattern": "params.top_p", "reason": "Google uses f32 for top_p, causing precision loss (0.9 → 0.8999999761581421)" },
{ "pattern": "messages[*].content[*].media_type", "reason": "Google requires mime_type for images; null defaults to image/jpeg" },
{ "pattern": "messages[*].content[*].provider_options", "reason": "Google doesn't support provider_options on content parts" },
{ "pattern": "messages.length", "reason": "Google moves system messages to systemInstruction and merges consecutive same-role messages" },
{ "pattern": "messages[*].content[*].tool_name", "reason": "Google requires functionResponse.name; tool names are populated from preceding tool calls when not present in source format (ChatCompletions and Anthropic tool results don't carry tool names)" },
{ "pattern": "messages[*].content[*].tool_call_id", "reason": "Google doesn't preserve tool call IDs; synthetic positional IDs are generated on re-parse" }
],
"errors": [
{ "pattern": "is not supported by Google", "reason": "Provider-specific built-in tool has no Google equivalent" }
]
},
{
"source": "Responses",
"target": "Google",
"fields": [
{ "pattern": "params.tools", "reason": "OpenAI built-in tools (code_interpreter, web_search) not supported in Google" }
]
},
{
"source": "Anthropic",
"target": "Google",
"fields": [
{ "pattern": "params.tools", "reason": "Anthropic built-in tools (bash, text_editor, web_search) not supported in Google" },
{ "pattern": "params.reasoning.budget_tokens", "reason": "Cross-canonical conversion (budget_tokens→effort→thinkingBudget) derives budget from effort level" }
]
},
{
"source": "Google",
"target": "*",
"fields": [
{ "pattern": "messages[*].content[*].encrypted_content", "reason": "Google thoughtSignature doesn't roundtrip through other providers" }
]
},
{
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "messages[*].content[*].tool_name", "reason": "ChatCompletions tool messages don't include tool_name, only tool_call_id" }
]
},
{
"source": "Google",
"target": "Anthropic",
"fields": [
{ "pattern": "messages[*].content[*].tool_name", "reason": "Anthropic tool_result doesn't include tool name, only tool_use_id" }
]
}
],
"perTestCase": [
{
"testCase": "googleThinkingJsonSchemaParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Responses-compatible JSON schema normalization adds additionalProperties when converting Google responseJsonSchema" },
{ "pattern": "messages.length", "reason": "Responses request format expands Google followup content into separate input items" }
]
},
{
"testCase": "googleThinkingJsonSchemaParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "ChatCompletions-compatible JSON schema normalization adds additionalProperties when converting Google responseJsonSchema" }
]
},
{
"testCase": "responsesToolSearchInputParam",
"source": "Responses",
"target": "*",
"fields": [
{ "pattern": "messages[*].content[*].tool_name", "reason": "Tool result names are not represented by ChatCompletions, Anthropic, or Bedrock tool result wire formats; those formats identify results by tool_call_id/tool_use_id only" },
{ "pattern": "messages[*].content[*].status", "reason": "Anthropic tool search transcript blocks do not preserve OpenAI Responses status metadata" },
{ "pattern": "messages[*].content[*].execution", "reason": "Anthropic tool search transcript blocks do not preserve OpenAI Responses execution metadata" },
{ "pattern": "messages[*].content[*].tools[*].tool", "reason": "Anthropic tool_search_tool_result carries tool_reference names; full deferred tool definitions are provided at top-level tools instead" },
{ "pattern": "messages[*].content[*].provider_options", "reason": "Provider-specific tool call metadata is not preserved through Anthropic tool search transcript blocks" },
{ "pattern": "messages[*].content[*].discovery_tool_name", "reason": "Anthropic requires concrete tool search tool names such as tool_search_tool_regex instead of OpenAI's generic tool_search" },
{ "pattern": "messages[*].content[*].tool_call_id", "reason": "Anthropic requires tool search call IDs to use the srvtoolu_ prefix" },
{ "pattern": "params.tools", "reason": "Anthropic requires discovered deferred tools and the tool search builtin in top-level tools for tool_reference replay" }
]
},
{
"testCase": "responsesToolSearchInputParam",
"source": "Anthropic",
"target": "Responses",
"fields": [
{ "pattern": "messages[*].content[*].tools[*].tool", "reason": "Anthropic tool_search_tool_result carries tool_reference names; Responses replay attaches recovered deferred tool definitions from top-level tools" },
{ "pattern": "messages[*].content[*].discovery_tool_name", "reason": "Anthropic uses concrete tool search names such as tool_search_tool_regex; Responses uses generic tool_search" }
]
},
{
"testCase": "responsesToolSearchInputParam",
"source": "Responses",
"target": "ChatCompletions",
"fields": [
{ "pattern": "messages[*].content[*].type", "reason": "ChatCompletions has no tool-discovery types, so tool_discovery_call/tool_discovery_result project to generic tool_call/tool_result and cannot be re-tagged as discovery on reparse" },
{ "pattern": "messages[*].content[*].tools", "reason": "ChatCompletions tool results carry no structured tools list; discovered tools are serialized into the tool message content/output instead" },
{ "pattern": "messages[*].content[*].output", "reason": "The discovery result payload is serialized into the ChatCompletions tool message output string" },
{ "pattern": "messages[*].content[*].arguments", "reason": "ChatCompletions tool-call arguments round-trip as a JSON string wrapped in the universal valid/invalid arguments envelope" }
]
},
{
"testCase": "responsesToolSearchInputParam",
"source": "Anthropic",
"target": "ChatCompletions",
"fields": [
{ "pattern": "messages[*].content[*].type", "reason": "ChatCompletions has no tool-discovery types, so tool_discovery_call/tool_discovery_result project to generic tool_call/tool_result and cannot be re-tagged as discovery on reparse" },
{ "pattern": "messages[*].content[*].tools", "reason": "ChatCompletions tool results carry no structured tools list; discovered tools are serialized into the tool message content/output instead" },
{ "pattern": "messages[*].content[*].output", "reason": "The discovery result payload is serialized into the ChatCompletions tool message output string" },
{ "pattern": "messages[*].content[*].arguments", "reason": "ChatCompletions tool-call arguments round-trip as a JSON string wrapped in the universal valid/invalid arguments envelope" },
{ "pattern": "messages[*].content[*].discovery_tool_name", "reason": "ChatCompletions identifies the discovery call by its function name (tool_name); discovery_tool_name is not preserved as a separate field" },
{ "pattern": "messages[*].content[*].tool_name", "reason": "Discovery call/result names round-trip as the ChatCompletions function/tool name" }
]
},
{
"testCase": "responsesToolSearchInputParam",
"source": "Responses",
"target": "Bedrock",
"fields": [
{ "pattern": "messages[*].content[*].output", "reason": "Bedrock Converse tool results serialize structured JSON output as a JSON string" }
]
},
{
"testCase": "imageContentParam",
"source": "*",
"target": "Anthropic",
"skip": true,
"reason": "Anthropic assistant messages don't support image content"
},
{
"testCase": "documentContentParam",
"source": "*",
"target": "Anthropic",
"skip": true,
"reason": "Anthropic assistant messages don't support document content"
},
{
"testCase": "multimodalRequest",
"source": "*",
"target": "Anthropic",
"skip": true,
"reason": "Anthropic assistant messages don't support image content"
},
{
"testCase": "codeInterpreterToolParam",
"source": "Responses",
"target": "Anthropic",
"skip": true,
"reason": "OpenAI Responses code_interpreter is provider-specific and is not a lossless equivalent of Anthropic bash"
},
{
"testCase": "webSearchToolParam",
"source": "Responses",
"target": "Anthropic",
"skip": true,
"reason": "OpenAI web_search_preview tool has no Anthropic equivalent"
},
{
"testCase": "multimodalRequest",
"source": "ChatCompletions",
"target": "Responses",
"skip": true,
"reason": "Image media_type normalization artifact"
},
{
"testCase": "imageUrlMimeTypeFallbackParam",
"source": "ChatCompletions",
"target": "Responses",
"fields": [
{ "pattern": "messages[*].content[*].media_type", "reason": "Google-backed image URL MIME inference normalizes null media_type to image/jpeg" }
]
},
{
"testCase": "imageUrlMimeTypeFallbackParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "messages[*].content[*].media_type", "reason": "OpenAI ChatCompletions image URLs do not preserve inferred MIME type on plain HTTPS URLs" }
]
},
{
"testCase": "imageUrlMimeTypeFallbackParam",
"source": "*",
"target": "Anthropic",
"fields": [
{ "pattern": "messages[*].content.length", "reason": "Anthropic request path drops the image URL block for this case, leaving only the text part" }
]
},
{
"testCase": "googleToolCallThoughtSignatureReplayParam",
"source": "ChatCompletions",
"target": "Responses",
"fields": [
{ "pattern": "messages[*].content[*].encrypted_content", "reason": "ChatCompletions reasoning_signature is an extension used for Google thoughtSignature replay; Responses requests cannot carry it on function_call items" }
]
},
{
"testCase": "googleToolCallThoughtSignatureReplayParam",
"source": "ChatCompletions",
"target": "Anthropic",
"fields": [
{ "pattern": "messages[*].content[*].encrypted_content", "reason": "ChatCompletions reasoning_signature is an extension used for Google thoughtSignature replay; Anthropic tool_use blocks cannot carry it" }
]
},
{
"testCase": "googleToolCallThoughtSignatureReplayParam",
"source": "ChatCompletions",
"target": "Bedrock Anthropic",
"fields": [
{ "pattern": "messages[*].content[*].encrypted_content", "reason": "ChatCompletions reasoning_signature is an extension used for Google thoughtSignature replay; Bedrock Anthropic tool_use blocks cannot carry it" }
]
},
{
"testCase": "googleToolCallThoughtSignatureReplayParam",
"source": "ChatCompletions",
"target": "Vertex Anthropic",
"fields": [
{ "pattern": "messages[*].content[*].encrypted_content", "reason": "ChatCompletions reasoning_signature is an extension used for Google thoughtSignature replay; Vertex Anthropic tool_use blocks cannot carry it" }
]
},
{
"testCase": "imageUrlMimeTypeFallbackParam",
"source": "*",
"target": "Bedrock",
"fields": [
{ "pattern": "messages[*].content.length", "reason": "Bedrock Anthropic-compatible request path drops the image URL block for this case, leaving only the text part" }
]
},
{
"testCase": "anthropicMidConversationSystemMessage",
"source": "Anthropic",
"target": "Bedrock",
"fields": [
{ "pattern": "messages[*].role", "reason": "Bedrock Converse does not preserve Anthropic system-role message entries and converts them to user text" },
{ "pattern": "messages[*].content[*].text", "reason": "Bedrock Converse prefixes converted Anthropic system-role message text with System:" }
]
},
{
"testCase": "anthropicMessageWithSystemMessage",
"source": "Anthropic",
"target": "Anthropic",
"errors": [
{ "pattern": "live Messages API currently rejects role 'system'", "reason": "Claude Code system-role message payload is accepted as an Anthropic-shaped source for non-Anthropic targets, but the live Anthropic Messages API rejects system-role input messages for available models" }
]
},
{
"testCase": "anthropicMessageWithSystemMessage",
"source": "Anthropic",
"target": "Bedrock Anthropic",
"skip": true,
"reason": "Claude Code system-role message payload is accepted as an Anthropic-shaped source for non-Anthropic targets, but Bedrock Anthropic targets use Anthropic Messages validation"
},
{
"testCase": "anthropicMessageWithSystemMessage",
"source": "Anthropic",
"target": "Vertex Anthropic",
"skip": true,
"reason": "Claude Code system-role message payload is accepted as an Anthropic-shaped source for non-Anthropic targets, but Vertex Anthropic targets use Anthropic Messages validation"
},
{
"testCase": "imageUrlMimeTypeFallbackParam",
"source": "*",
"target": "Bedrock Anthropic",
"fields": [
{ "pattern": "messages[*].content.length", "reason": "Bedrock Anthropic-compatible request path drops the image URL block for this case, leaving only the text part" }
]
},
{
"testCase": "imageUrlMimeTypeFallbackParam",
"source": "*",
"target": "Vertex Anthropic",
"fields": [
{ "pattern": "messages[*].content.length", "reason": "Vertex Anthropic-compatible request path drops the image URL block for this case, leaving only the text part" }
]
},
{
"testCase": "instructionsParam",
"source": "ChatCompletions",
"target": "Anthropic",
"skip": true,
"reason": "Anthropic extracts system messages to separate system parameter"
},
{
"testCase": "instructionsParam",
"source": "Responses",
"target": "Anthropic",
"skip": true,
"reason": "Anthropic extracts system messages to separate system parameter"
},
{
"testCase": "systemMessageArrayContent",
"source": "ChatCompletions",
"target": "Anthropic",
"skip": true,
"reason": "Anthropic extracts system messages to separate system parameter"
},
{
"testCase": "systemMessageArrayContent",
"source": "Responses",
"target": "Anthropic",
"skip": true,
"reason": "Anthropic extracts system messages to separate system parameter"
},
{
"testCase": "multimodalRequest",
"source": "Responses",
"target": "ChatCompletions",
"skip": true,
"reason": "Image provider_options not preserved in cross-provider transformation"
},
{
"testCase": "complexReasoningRequest",
"source": "Responses",
"target": "ChatCompletions",
"skip": true,
"reason": "ChatCompletions collapses reasoning summary blocks to single string"
},
{
"testCase": "webSearchToolParam",
"source": "Anthropic",
"target": "Responses",
"skip": true,
"reason": "Anthropic web_search encrypted results cannot be transformed to OpenAI"
},
{
"testCase": "webSearchToolAdvancedParam",
"source": "Anthropic",
"target": "Responses",
"skip": true,
"reason": "Anthropic web_search encrypted results cannot be transformed to OpenAI"
},
{
"testCase": "topPReasoningModelParam",
"source": "*",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.top_p", "reason": "OpenAI reasoning models do not support top_p, so it is stripped for request compatibility" }
]
},
{
"testCase": "topPReasoningModelParam",
"source": "*",
"target": "Responses",
"fields": [
{ "pattern": "params.top_p", "reason": "OpenAI reasoning models do not support top_p, so it is stripped for request compatibility" }
]
},
{
"testCase": "promptCacheKeyParam",
"source": "*",
"target": "Anthropic",
"fields": [
{ "pattern": "params.prompt_cache_key", "reason": "prompt_cache_key is OpenAI-specific and Anthropic does not support an equivalent cache bucketing key" }
]
},
{
"testCase": "promptCacheKeyParam",
"source": "*",
"target": "Bedrock Anthropic",
"fields": [
{ "pattern": "params.prompt_cache_key", "reason": "prompt_cache_key is OpenAI-specific and Bedrock Anthropic does not support an equivalent cache bucketing key" }
]
},
{
"testCase": "promptCacheKeyParam",
"source": "*",
"target": "Vertex Anthropic",
"fields": [
{ "pattern": "params.prompt_cache_key", "reason": "prompt_cache_key is OpenAI-specific and Vertex Anthropic does not support an equivalent cache bucketing key" }
]
},
{
"testCase": "promptCacheKeyParam",
"source": "*",
"target": "Google",
"fields": [
{ "pattern": "params.prompt_cache_key", "reason": "prompt_cache_key is OpenAI-specific and Google does not support an equivalent cache bucketing key" }
]
},
{
"testCase": "openaiPromptCacheKeyParam",
"source": "*",
"target": "Anthropic",
"fields": [
{ "pattern": "params.prompt_cache_key", "reason": "prompt_cache_key is OpenAI-specific and Anthropic does not support an equivalent cache bucketing key" }
]
},
{
"testCase": "openaiPromptCacheKeyParam",
"source": "*",
"target": "Bedrock Anthropic",
"fields": [
{ "pattern": "params.prompt_cache_key", "reason": "prompt_cache_key is OpenAI-specific and Bedrock Anthropic does not support an equivalent cache bucketing key" }
]
},
{
"testCase": "openaiPromptCacheKeyParam",
"source": "*",
"target": "Vertex Anthropic",
"fields": [
{ "pattern": "params.prompt_cache_key", "reason": "prompt_cache_key is OpenAI-specific and Vertex Anthropic does not support an equivalent cache bucketing key" }
]
},
{
"testCase": "openaiPromptCacheKeyParam",
"source": "*",
"target": "Google",
"fields": [
{ "pattern": "params.prompt_cache_key", "reason": "prompt_cache_key is OpenAI-specific and Google does not support an equivalent cache bucketing key" }
]
},
{
"testCase": "webSearchToolParam",
"source": "Anthropic",
"target": "ChatCompletions",
"skip": true,
"reason": "Anthropic web search is dropped for ChatCompletions because there is no supported equivalent request field"
},
{
"testCase": "documentContentParam",
"source": "Anthropic",
"target": "ChatCompletions",
"skip": true,
"reason": "OpenAI ChatCompletions file inputs require provider-specific payloads such as PDF data URLs, so Anthropic document blocks map lossily from universal File content"
},
{
"testCase": "reasoningEffortLowParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "params.reasoning.budget_tokens", "reason": "OpenAI uses effort levels, thinkingBudget gets quantized" }
]
},
{
"testCase": "reasoningEffortLowParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.reasoning.budget_tokens", "reason": "OpenAI uses effort levels, thinkingBudget gets quantized" }
]
},
{
"testCase": "reasoningSummaryParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "params.reasoning.budget_tokens", "reason": "OpenAI uses effort levels, thinkingBudget gets quantized" }
]
},
{
"testCase": "reasoningSummaryParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.reasoning.budget_tokens", "reason": "OpenAI uses effort levels, thinkingBudget gets quantized" }
]
},
{
"testCase": "textFormatJsonSchemaParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" }
]
},
{
"testCase": "textFormatJsonSchemaParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" }
]
},
{
"testCase": "textFormatJsonSchemaWithDescriptionParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" }
]
},
{
"testCase": "textFormatJsonSchemaWithDescriptionParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" }
]
},
{
"testCase": "textFormatJsonSchemaMissingRequiredPropertyParam",
"source": "ChatCompletions",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.required", "reason": "Strict OpenAI-style targets require every object property to be listed in required" }
]
},
{
"testCase": "textFormatJsonSchemaMissingRequiredPropertyParam",
"source": "ChatCompletions",
"target": "Responses",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.required", "reason": "Strict OpenAI-style targets require every object property to be listed in required" }
]
},
{
"testCase": "textFormatJsonSchemaMissingRequiredPropertyParam",
"source": "Responses",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.required", "reason": "Strict OpenAI-style targets require every object property to be listed in required" }
]
},
{
"testCase": "googleResponseSchemaPropertyOrderingParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" },
{ "pattern": "params.response_format.json_schema.schema.propertyOrdering", "reason": "Google propertyOrdering is a Google-only schema hint and is stripped for non-Google strict-schema targets" }
]
},
{
"testCase": "googleResponseSchemaPropertyOrderingParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" },
{ "pattern": "params.response_format.json_schema.schema.propertyOrdering", "reason": "Google propertyOrdering is a Google-only schema hint and is stripped for non-Google strict-schema targets" }
]
},
{
"testCase": "jsonSchemaPrefixItemsParam",
"source": "*",
"target": "Anthropic",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.properties.tuple.prefixItems", "reason": "Anthropic structured outputs drop tuple-position hints during lossy schema normalization" },
{ "pattern": "params.response_format.json_schema.schema.properties.tuple.minItems", "reason": "Anthropic structured outputs drop array length bounds during lossy schema normalization" },
{ "pattern": "params.response_format.json_schema.schema.properties.tuple.maxItems", "reason": "Anthropic structured outputs drop array length bounds during lossy schema normalization" }
]
},
{
"testCase": "jsonSchemaPrefixItemsParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" }
]
},
{
"testCase": "jsonSchemaPrefixItemsParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" }
]
},
{
"testCase": "jsonSchemaFormatParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" }
]
},
{
"testCase": "jsonSchemaFormatParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" }
]
},
{
"testCase": "jsonSchemaMinMaxItemsParam",
"source": "*",
"target": "Anthropic",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.properties.tags.minItems", "reason": "Anthropic structured outputs drop array length bounds during lossy schema normalization" },
{ "pattern": "params.response_format.json_schema.schema.properties.tags.maxItems", "reason": "Anthropic structured outputs drop array length bounds during lossy schema normalization" }
]
},
{
"testCase": "jsonSchemaMinMaxItemsParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" }
]
},
{
"testCase": "jsonSchemaMinMaxItemsParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" }
]
},
{
"testCase": "jsonSchemaMinimumMaximumParam",
"source": "*",
"target": "Anthropic",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.properties.score.minimum", "reason": "Anthropic structured outputs drop numeric bounds during lossy schema normalization" },
{ "pattern": "params.response_format.json_schema.schema.properties.score.maximum", "reason": "Anthropic structured outputs drop numeric bounds during lossy schema normalization" }
]
},
{
"testCase": "jsonSchemaMinimumMaximumParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" }
]
},
{
"testCase": "jsonSchemaMinimumMaximumParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "params.response_format.json_schema.schema.additionalProperties", "reason": "Strict OpenAI-style targets require explicit closed object schemas when Google omits additionalProperties" }
]
},
{
"testCase": "thinkingLevelParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "messages[*].content.length", "reason": "ChatCompletions doesn't support thinking/reasoning content blocks" }
]
},
{
"testCase": "imageConfigParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "messages[*].content[*].type", "reason": "Google assistant image content not supported in ChatCompletions" },
{ "pattern": "messages[*].content[*].media_type", "reason": "Google assistant image content not supported in ChatCompletions" },
{ "pattern": "messages[*].content[*].data", "reason": "Google assistant image content not supported in ChatCompletions" },
{ "pattern": "messages[*].content[*].text", "reason": "Google assistant image content converted to text fallback in ChatCompletions" }
]
},
{
"testCase": "imageConfigParam",
"source": "Google",
"target": "Anthropic",
"fields": [
{ "pattern": "messages[*].content[*].type", "reason": "Google assistant image content not supported in Anthropic" },
{ "pattern": "messages[*].content[*].media_type", "reason": "Google assistant image content not supported in Anthropic" },
{ "pattern": "messages[*].content[*].data", "reason": "Google assistant image content not supported in Anthropic" },
{ "pattern": "messages[*].content[*].text", "reason": "Google assistant image content converted to text fallback in Anthropic" }
]
},
{
"testCase": "webSearchToolParam",
"source": "Google",
"target": "ChatCompletions",
"skip": true,
"reason": "Google web search is dropped for ChatCompletions because there is no reliable supported equivalent request field"
},
{
"testCase": "webSearchToolAdvancedParam",
"source": "Google",
"target": "ChatCompletions",
"skip": true,
"reason": "Google web search is dropped for ChatCompletions because there is no reliable supported equivalent request field"
},
{
"testCase": "webSearchToolParam",
"source": "Google",
"target": "Responses",
"skip": true,
"reason": "Google googleSearch is intentionally canonicalized to the OpenAI Responses web_search tool shape"
},
{
"testCase": "webSearchToolAdvancedParam",
"source": "Google",
"target": "Responses",
"skip": true,
"reason": "Google googleSearch is intentionally canonicalized to the OpenAI Responses web_search tool shape"
},
{
"testCase": "webSearchToolParam",
"source": "Google",
"target": "Anthropic",
"skip": true,
"reason": "Google googleSearch is intentionally canonicalized to Anthropic web_search_20250305"
},
{
"testCase": "webSearchToolAdvancedParam",
"source": "Google",
"target": "Anthropic",
"skip": true,
"reason": "Google googleSearch is intentionally canonicalized to Anthropic web_search_20250305"
},
{
"testCase": "webSearchToolParam",
"source": "Anthropic",
"target": "Google",
"fields": [
{ "pattern": "messages[*].content.length", "reason": "Anthropic web search content blocks don't map 1:1 to Google structure" }
]
},
{
"testCase": "webSearchToolAdvancedParam",
"source": "Anthropic",
"target": "Google",
"fields": [
{ "pattern": "messages[*].content.length", "reason": "Anthropic web search content blocks don't map 1:1 to Google structure" }
]
},
{
"testCase": "documentContentParam",
"source": "Anthropic",
"target": "Google",
"fields": [
{ "pattern": "messages[*].content.length", "reason": "Anthropic document blocks not supported in Google" }
]
},
{
"testCase": "responsesInputFileUrlParam",
"source": "Responses",
"target": "Anthropic",
"fields": [
{ "pattern": "messages[*].content[*].provider_options", "reason": "Anthropic document blocks require provider_options.anthropic_type=document to preserve document semantics on reparse" }
]
},
{
"testCase": "reasoningSummaryParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "messages.length", "reason": "Google reasoning summary creates additional messages in Responses format" }
]
},
{
"testCase": "thinkingLevelParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "messages.length", "reason": "Google reasoning content expands to separate output items in Responses format" }
]
},
{
"testCase": "webSearchToolParam",
"source": "Responses",
"target": "ChatCompletions",
"skip": true,
"reason": "OpenAI Responses web search does not roundtrip through ChatCompletions as the same request structure"
},
{
"testCase": "toolChoiceRequiredWithReasoningParam",
"source": "ChatCompletions",
"target": "Anthropic",
"fields": [
{ "pattern": "params.reasoning", "reason": "Anthropic rejects enabled thinking when tool_choice forces a specific tool; thinking is intentionally dropped" }
]
},
{
"testCase": "toolChoiceRequiredWithReasoningParam",
"source": "ChatCompletions",
"target": "Bedrock Anthropic",
"fields": [
{ "pattern": "params.reasoning", "reason": "Anthropic rejects enabled thinking when tool_choice forces a specific tool; thinking is intentionally dropped" }
]
},
{
"testCase": "toolChoiceRequiredWithReasoningParam",
"source": "ChatCompletions",
"target": "Vertex Anthropic",
"fields": [
{ "pattern": "params.reasoning", "reason": "Anthropic rejects enabled thinking when tool_choice forces a specific tool; thinking is intentionally dropped" }
]
},
{
"testCase": "codeInterpreterToolParam",
"source": "Google",
"target": "Anthropic",
"skip": true,
"reason": "Google code_execution is provider-specific and is not a lossless equivalent of Anthropic bash"
},
{
"testCase": "toolChoiceRequiredWithReasoningParam",
"source": "Google",
"target": "Anthropic",
"fields": [
{ "pattern": "params.reasoning", "reason": "Anthropic rejects enabled thinking when tool_choice forces a specific tool; thinking is intentionally dropped" }
]
},
{
"testCase": "toolChoiceRequiredWithReasoningParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "messages.length", "reason": "Responses expands Google required-tool reasoning followups into a different message shape" }
]
},
{
"testCase": "responseModalitiesAudioParam",
"source": "Google",
"target": "Anthropic",
"fields": [
{ "pattern": "messages[*].content[*].type", "reason": "Google assistant audio content becomes text fallback in Anthropic" },
{ "pattern": "messages[*].content[*].media_type", "reason": "Google assistant audio content is not preserved in Anthropic" },
{ "pattern": "messages[*].content[*].data", "reason": "Google assistant audio content is not preserved in Anthropic" },
{ "pattern": "messages[*].content[*].text", "reason": "Google assistant audio content becomes text fallback in Anthropic" }
]
},
{
"testCase": "responseModalitiesAudioParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "messages[*].content[*].type", "reason": "Google assistant audio content becomes text fallback in ChatCompletions" },
{ "pattern": "messages[*].content[*].media_type", "reason": "Google assistant audio content is not preserved in ChatCompletions" },
{ "pattern": "messages[*].content[*].data", "reason": "Google assistant audio content is not preserved in ChatCompletions" },
{ "pattern": "messages[*].content[*].text", "reason": "Google assistant audio content becomes text fallback in ChatCompletions" }
]
},
{
"testCase": "urlContextToolParam",
"source": "Google",
"target": "Anthropic",
"skip": true,
"reason": "Google url_context builtin tool has no Anthropic equivalent"
},
{
"testCase": "urlContextToolParam",
"source": "Google",
"target": "Responses",
"fields": [
{ "pattern": "params.tools", "reason": "Google url_context builtin tool has no Responses equivalent" }
]
},
{
"testCase": "urlContextToolParam",
"source": "Google",
"target": "ChatCompletions",
"fields": [
{ "pattern": "params.tools", "reason": "Google url_context builtin tool has no ChatCompletions equivalent" }
]
},
{
"testCase": "parallelToolCallsRequest",
"source": "*",
"target": "ChatCompletions",
"fields": [
{ "pattern": "messages.length", "reason": "Parallel tool results grouped in one Tool message expand to separate role:tool messages in ChatCompletions" }
]
},
{