Commit 4e7df8d
feat: add proxy integration tests and fix Codex↔Gemini response converter bug (#393)
Add comprehensive end-to-end proxy integration tests covering all 4 protocol
types (Claude, OpenAI, Codex, Gemini) with 20 test cases including passthrough,
all 12 cross-protocol conversions, error handling, and multi-protocol coexistence.
Fix a bug where Codex↔Gemini response transformers were registered with swapped
implementations, causing silent data corruption: responses would be returned in
the wrong format with null/zero fields instead of being properly converted.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9bca42d commit 4e7df8d
File tree
4 files changed
+1072
-2
lines changed- internal/converter
- tests/e2e
4 files changed
+1072
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments