Commit e0e7fb9
[Fix] GPT-5.6 Luna requests rejected by Codex backend when using ChatGPT OAuth (#889)
* fix(openai-codex): support Luna Responses Lite requests
* Nuke md file that shouldnt have been commited in the first place
* fix(openai-codex): address Luna Responses Lite review feedback
- Capture telemetry when transformLunaResponsesLiteBody throws in createMessage
- Drop weak Record<string, any> alias from transformLunaResponsesLiteBody signature
- Document intentional tool_choice/parallel_tool_calls and reasoning context overrides
- Strengthen tests: full input array assertion, reasoning context overwrite case,
retry header coverage, single-build spy, and uuidv7 session shape check
---------
Co-authored-by: Naved Merchant <naved.merchant@gmail.com>
Co-authored-by: Roomote <roomote@roomote.dev>1 parent 78c1410 commit e0e7fb9
3 files changed
Lines changed: 533 additions & 30 deletions
File tree
- src/api/providers
- __tests__
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
518 | 534 | | |
519 | 535 | | |
520 | 536 | | |
| |||
0 commit comments