From ee20adb021efd38bc15c8b50505088b77edecd47 Mon Sep 17 00:00:00 2001 From: X-iZhang Date: Thu, 12 Mar 2026 12:13:01 +0000 Subject: [PATCH] Remove unused function _channel_ask_user_prompt_from_event from tui_interactive.py --- EvoScientist/cli/tui_interactive.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/EvoScientist/cli/tui_interactive.py b/EvoScientist/cli/tui_interactive.py index aba101c..ea5ca27 100644 --- a/EvoScientist/cli/tui_interactive.py +++ b/EvoScientist/cli/tui_interactive.py @@ -72,17 +72,6 @@ def _shorten_path(path: str) -> str: return _sp(path) -def _channel_ask_user_prompt_from_event(event: dict, channel_hitl_fn: Any) -> dict: - """Bridge ask_user event to channel prompt (called via asyncio.to_thread). - - This is a thin wrapper used by TUI channel mode — it delegates to the - channel module's ``channel_ask_user_prompt`` if available, otherwise - returns a cancelled result. - """ - from .channel import channel_ask_user_prompt as _ch_ask - - return _ch_ask(event) - def _build_welcome_banner( *,