Search for a command to run...
When to Memorize and When to Stop: Gated Recurrent Memory for Long-Context Reasoning