mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-03-30 12:14:50 +00:00
Before this change, when a client disconnected mid-request, the error message was "Upstream request failed after retries", which is misleading and pollutes error logs. Now we check context.Err() to return a more accurate "Client disconnected" message for both Claude and Gemini forward paths.