5. Use structured prompts instead of loose chat history
Raw chat logs are messy. Structured prompts are easier for models to follow. A clean format might include sections for goals, constraints, known facts, recent actions, and unresolved questions. That structure helps the model separate signal from noise.