You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using deepseek/deepseek-v4.1-flash on the /alpha/generate streaming endpoint, long-running requests (e.g. multi-turn tool calling with reasoning) can hang for ~3.5 minutes (208,974 ms) and then abruptly terminate with a mid-stream error event:
[18:11:55] POST .../alpha/generate -> stream started
[18:15:24] ✗ ERROR: [CommandCode error: {"type":"server_error","message":"Network connection lost."}] (duration: 208974ms)
Expected Behavior
The upstream connection between CommandCode's gateway and the DeepSeek backend cluster should maintain keep-alive/heartbeat or handle transient drops gracefully instead of terminating with server_error: Network connection lost. after 3.5 minutes.
If an upstream drop occurs, provide retryable metadata or connection recovery.
Activity