← Back to context

Comment by lanewinfield

3 months ago

^ 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"