Execute a task with output directed to Textual UI.
This is the Textual-compatible version of execute_task() that uses the TextualUIAdapter for all UI operations.
execute_task_textual(
user_input: str,
agent: Any,
assistant_id: str | None,
session_state: Any,
adapter: TextualUIAdapter,
backend: Any = None,
image_tracker: ImageTracker | None = None
) -> None| Name | Type | Description |
|---|---|---|
user_input* | str | The user's input message |
agent* | Any | The LangGraph agent to execute |
assistant_id* | str | None | The agent identifier |
session_state* | Any | Session state with auto_approve flag |
adapter* | TextualUIAdapter | The TextualUIAdapter for UI operations |
backend | Any | Default: NoneOptional backend for file operations |
image_tracker | ImageTracker | None | Default: NoneOptional tracker for images |