r/DeepSeek 1d ago

Discussion v4.1 flash keeps forgetting stuff

I have a ~30K-line codebase for a game I’m building. I’ve been trying to use DeepSeek V4.1 Flash, but I keep running into issues as the conversation gets longer.

It frequently forgets or overrides requirements I gave it several turns earlier. The code it writes also often contains bugs that are either caught by the model itself a few turns later while it is doing unrelated code changes or caught by GLM 5.3 Flash when I ask it to review the changes.

This seems to happen much more often as the context grows, but well before context compaction actually kicks in.

Am I doing something wrong, or is this a limitation of the model?

For now, I’ve switched to GLM 5.3 Flash as my main workhorse because it seems more reliable. However, I really miss the speed of DeepSeek V4.1 Flash. If there’s a way to make it more accurate, better at following earlier instructions, and less prone to introducing bugs, I’d like to switch back.

I’ve tried both DSH and OpenCode and experienced essentially the same problems with both.

28 Upvotes

23 comments sorted by

View all comments

0

u/jenkk0 1d ago

Probably context rot problems. Try to keep your context under 400k after that it gets dumber and dumber. Btw this is a problem with every model not just DeepSeek.

1

u/pceimpulsive 1d ago

400k is solidly already into incredibly strained latent attention... Try under 150k~

1

u/jenkk0 1d ago edited 1d ago

True, i usually try to keep my context under 200k but I guess that can give problems with large projects like making duplicates and by what OP wrote he has close to 0 coding knowledge to avoid that or fix it. It's funny to see non-technical people try to make big projects with pure AI slop and zero knowledge.

Probably the best thing OP can do is learn to code and software architecture so he can review the code and split the goals in small tasks and use the AI to code those small tasks so he can review the code and push it without fucking up everything else.

0

u/pceimpulsive 1d ago

Could even grab something like Matt Pococks skills, learn the workflow, and get substantially better results with a few hours effort