Open
Description
We need a way to manage context more precisely. In the current implementation, every call, tool invocation, and handoff is appended to the history, but we can’t control how many—or which—items are sent to the LLM each turn (e.g., only tool calls, only messages, only handoffs, or any combination).
It would also be helpful to add a sliding‑window history selector that retains only the last ten turns of conversation. That way, tools could leverage both short‑term (fast) and long‑term (slow) memories as needed.
What dou you think? How are you currently handling history needs?