Hi, I’ve been having problems for quite some time with code indentation in Python. The problem arises when I ask it to apply a code. It can be a single line or 50. The problem is that it scrolls all the code and I have to tweak it manually. I have tried everything, reboot the machine, reinstall VSCode…
And the problem is that it is not always and I have not been able to find a pattern. Sometimes for days it does it perfectly and in a single session it doesn’t stop crashing even if I reboot the machine.
Is anyone having this problem too?
Hey @killo3967
Thank you for reporting this issue. It is indeed the case that in programming languages with whitespace indentation, the LLM sometimes has difficulties formatting them cleanly. We are aware of the problem and are also tracking a GitHub issue regarding the generation of documentation, as it is the same principle. bug: docstring indentation is wrong · Issue #4129 · sourcegraph/cody
We hope to find a reliable solution soon and will release it.
Thank you for your understanding.