mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
synthOpenAIErrorChunk() sets error.type to upstream_empty_response but omits error.code. The isRequestScopedUpstreamFailure guard only checks type for context_length_exceeded, so an upstream_empty_response error slips past it. - Added code: upstream_empty_response to the error object in synthOpenAIErrorChunk() - Added test assertion verifying error.code matches error.type This ensures the guard correctly identifies upstream empty responses as request-scoped failures. Closes #8469