548 B
548 B
Implementation Plan: Manual Context Pruner
Phase 1: Aggregation Intercept
- Add
review_context_before_sendboolean flag toAppController. - Update the
generateworkflow insrc/app_controller.pyto pause and trigger the UI modal if the flag is true.
Phase 2: UI Modal
- Add
_render_context_pruner_modalinsrc/gui_2.py. - The modal must use a large
imgui.input_text_multiline(or similar editor) to allow manual redaction. - Handle the callback to resume the
generateworkflow with the modified string.