Long agent sessions: compress context or retrieve it?
HardML design25 minREMLEPro outline
The question
An assistant's sessions grow very long. Compare compressing old context with retrieving from stored history. Also explain what happens to prompt cache hits when you delete or rewrite earlier messages.
What the interviewer is looking for
- Explains summary loss versus retrieval misses
- Proposes a hybrid
- Knows prefix caching needs an identical prefix
- Places stable content first to keep cache hits
- Measures cost and quality
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Tencent Hunyuan question type: context compression versus retrieval and prompt cache hits after deletion.
Reported in: mj.mianlingai.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Tencent Hunyuan question.