Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

^ this! there's a lot of clocks to generate so I've challenged it to stick to a small(er) amount of code


I wonder if you would get better results if you tell the LLM there's a token limit in the prompt.

something like "You only have 1000 tokens. Generate an analog clock showing ${time}, with a CSS animated second hand. Make it responsive and use a white background. Return ONLY the HTML/CSS code with no markdown formatting"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: