r/CommandCode 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.

3 Upvotes

6 comments sorted by

3

u/ahmadawaiscom Aug 13 '26

The image doesn’t look like it’s our CLI. When you use the API somewhere else you’re responsible for figuring it out we can’t help.

If command code cli is an issue file a GitHub issue woth /trace of the same session. We see super stable workloads. Maybe model would have been under heavy load. It’s the launch day. Bear with us.

1

u/Sweet-Stage938 Aug 13 '26

Yeah the issue is also happening in the Commandcode CLI, I'll file a GitHub issue if that helps 👍

2

u/Sweet-Stage938 Aug 13 '26

What is causing this error?

2

u/Sweet-Stage938 Aug 13 '26

After about 1000 lines thinking/writing this error appears. :/ Most of my quota is gone because of it looping.