| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: c9c89bc0-58cc-4dc8-89a0-83e012ff8c4f
| Back | FazBrowse Home | New Git URL |
Summary
Why this approach
This overlaps in endpoint scope with #219 and #230, but deliberately uses a raw pass-through instead of parsing and rebuilding Responses API output. That preserves typed SSE event lines and forward-compatible payload fields, and avoids the async-generator serialization issue reported on #230.
It also adds behavior not covered by those proposals: forwarding request text without JSON reserialization, propagating the inbound AbortSignal, stripping stale compression/length headers after fetch decoding, preserving non-2xx JSON and SSE bodies, and exposing retry/request headers through CORS.
#263 solves a different problem by adapting Responses-only models back into Chat Completions shape; this PR exposes the native OpenAI Responses API shape unchanged.
Validation