fix(openai): map system prompts to top-level instructions for ChatGPT auth requests

This commit is contained in:
2026-05-14 19:47:17 +00:00
parent 8a6c92c04e
commit c8f98b3364
4 changed files with 71 additions and 5 deletions
+7
View File
@@ -3,6 +3,13 @@
## Pending
### Fixes
- map system prompts to top-level instructions for ChatGPT auth requests (openai)
- wrap OpenAI models using ChatGPT auth with middleware that extracts system messages into provider instructions
- remove system messages from the serialized prompt payload to match the ChatGPT Codex backend expectations
- add test coverage to verify authorization headers, workspace routing, and instruction payload mapping
## 2026-05-14 - 4.0.0
### Breaking Changes