test: harden OpenAI response error handling

This commit is contained in:
2026-06-11 11:47:29 +01:00
parent 189b3372a4
commit 311f49435e
3 changed files with 55 additions and 8 deletions
+4 -7
View File
@@ -7,11 +7,11 @@ ChatGPT MCP Server
## Status
Planning complete.
Phase 0 complete. Phase 1 complete. Phase 2 in progress.
Phase 0 complete. Phase 1 complete. Phase 2 complete.
## Current Phase
Phase 2 - OpenAI Integration
Phase 3 — Not yet defined
## Completed Tasks
@@ -23,11 +23,8 @@ Phase 2 - OpenAI Integration
- Task 1.4 — Safe logging helper (`src/utils/logging.js`) ✅
- Task 2.1 — OpenAI client wrapper (`src/openai/client.js`) ✅
- Task 2.2 — Response builder (`src/openai/responses.js`) ✅
- Task 2.3 — Error handling and edge cases for OpenAI integration (tests) ✅
## Next Phase
Phase 2 - OpenAI Integration
## Next Pending Task
Task 2.3 — Error handling and edge cases for OpenAI integration
Phase 3 — Not yet defined