upvote
I'm pretty sure this is just the LLM "thinking out loud". For some reason even when it has thinking enabled and does a thinking step before generating output, it still has to explain what it's doing to itself in the output, which often leads to it correcting itself in the output. I've pretty much stopped letting LLMs write code directly in large part because I cannot get them to stop injecting comments talking themselves through how the code relates to the chat the prompted it in ways that no human would ever write and will make no sense to anyone re-reading the code months later.
reply