Context

Your agent resends a long system prompt on every step, yet DeepSeek’s usage shows almost no cache hits.

The prompt starts with “Today is <date and time>”.

  1. AMove the date to the end of the prompt
  2. BAsk DeepSeek support to switch the cache on for your account
  3. CShorten the system prompt so that every miss costs a little less
  4. DSend the tools in a random order so the model does not overfit

Answer: A

Move the date to the end of the prompt

Why

DeepSeek caches automatically, but only an identical prefix from the very first token. A timestamp at the top changes the start of every request, so everything after it misses. Move changing values to the end; there is nothing to switch on, shortening only shrinks the loss, and a random tool order breaks the prefix too.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path