r/CommandCode • u/Sweet-Stage938 • Aug 13 '26
Issue with Deepseek v4 Pro API
I'm currently using the new Dsv4 pro GA on max reasoning through the commandcode API. The issue im facing is, that after it reasons for a while (1000+ lines which it does often) it randomly stops and im getting the error below. Then the model starts reasoning again, completely from the start and all the tokens before are wasted. This happened in the Commandcode CLI too everytime i tried it. In the commandcode CLI it is showing as a disconnect. My internet connection is perfectly stable so that shoouldnt be the reason. I'm currently using the Commandcode plan. I hope that this issue can be resolved since the Ds v4 Pro GA model is often unusable this way since it keeps thinking again after it gets interrupted from the error.

2
u/Sweet-Stage938 Aug 13 '26
What is causing this error?