decolua
9caea88528
fix(codex): harden streaming timeouts + Responses terminal events
...
Raise stall/connect timeouts to 60s (configurable per-provider), accept
codex response.done, and always emit a terminal response.failed + [DONE]
for Responses passthrough when a stream closes, stalls, or aborts before
a terminal event — preventing codex clients from hanging.
Co-authored-by: jonathanli12 <jonathanli12@users.noreply.github.com >
Co-authored-by: rifuki <rifuki@users.noreply.github.com >
Co-authored-by: nguyenha935 <nguyenha935@users.noreply.github.com >
Co-authored-by: trananhtung <trananhtung@users.noreply.github.com >
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-06 16:07:43 +07:00
decolua
e2db638982
feat: enhance request handling and error management in chatCore and streamToJsonConverter
...
- Added detailed request logging and latency tracking in handleChatCore.
- Improved error handling for SSE to JSON conversion and JSON parsing in streamToJsonConverter.
- Introduced a safe JSON parsing utility to handle potential parsing errors gracefully in requestDetailsDb.
Co-authored-by: zx <me@char.moe >
2026-02-15 12:02:53 +07:00
apeltekci
ac7cedd27e
feat(responses): respect client streaming preference + string input support ( #121 )
...
- Remove forced stream=true from responsesHandler
- Add stream-to-JSON converter for non-streaming clients (Codex)
- Accept string input in Responses API (normalize to array)
- Codex SSE header fallback for missing Content-Type
- Refactor: extract shared normalizeResponsesInput()
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-02-15 11:47:55 +07:00
decolua
e35421beb1
Update jsconfig.json and package.json to correct open-sse path references from relative to local directory.
2026-01-05 10:37:09 +07:00