2 Commits

  • fix: ensure connection-scoped headers are filtered in upstream requests
    - Added `connectionScopedHeaders` utility to respect "Connection" header directives.
    - Updated `FilterUpstreamHeaders` to remove connection-scoped headers dynamically.
    - Refactored and tested upstream header filtering with additional validations.
    - Adjusted upstream header handling during retries to replace headers safely.
  • feat(logging, executor): add request logging tests and WebSocket-based Codex executor
    - Introduced unit tests for request logging middleware to enhance coverage.
    - Added WebSocket-based Codex executor to support Responses API upgrade.
    - Updated middleware logic to selectively capture request bodies for memory efficiency.
    - Enhanced Codex configuration handling with new WebSocket attributes.