data_juicer_agents.tui.controller module#

Controller for running DJSessionAgent with asynchronous TUI updates.

class data_juicer_agents.tui.controller.SessionController(*, dataset_path: str | None, export_path: str | None, verbose: bool)[source]#

Bases: object

__init__(*, dataset_path: str | None, export_path: str | None, verbose: bool) None[source]#
start() None[source]#
submit_turn(message: str) None[source]#
is_turn_running() bool[source]#
request_interrupt() bool[source]#
drain_events() List[Dict[str, Any]][source]#
consume_turn_result() SessionReply[source]#