I give it 319 lines of HTML code and ask it to change some item styles and adjust their appearance. It returns only 95 lines as if that were the entire page, throwing out 60% of the content. I tell it, ‘Look, I gave you 319 lines, and you gave me back only 95. You fixed some things, but you ruined everything else.’ It returns 95 lines to me again.
This happens often—when the page becomes too big, it stops helping, and I have to send it piece by piece, then manually add back what it changed.
Why does ChatGPT struggle with a large number of lines and try to shorten them? Is it programmed to do that to save resources? Is there a way to bypass this? I understand that it’s trying to do as little work as possible, but when I ask it to create a menu with 20 elements and it gives me back just four, expecting me to add the rest myself—it’s frustrating. Does it really expect me to write 16 <li>
tags manually?
I know I’ve gotten lazy, but still…"**
My question is: Why, when I give it 319 lines of code and ask it to make changes, does it not simply insert the changes and return the rest of the code in one piece? Instead, it shortens it as much as possible and expects me to write everything else myself. This only happens with large pieces of code; with short pieces, it works just fine.