Queue "Compact Chat" in agent conversation

Problem

I have a series of tasks and known to exceed limit of context length. I need to queue the chat as “Task → Compact → Task → Task → Compact“, other wise it will cost too much tokens. However, the “Compact Chat” button is grayed out when Task is under execution.

Solution

enable “Compact Chat” button at anytime, if a Task is in execution, queue the Compact task.

Use Case

When I have a series of similar tasks.

Priority

  • :red_circle: High - Blocking issue
  • :yellow_circle: Medium - Important improvement
  • :green_circle: Low - Nice to have

Additional Info

(Optional: screenshots, examples, links)