🙌 OpenHands: AI-Driven Development
Fix import order for Windows PowerShell support (#11557)
மனோஜ்குமார் பழனிச்சாமி2a98cd933890
diff --git a/openhands/runtime/impl/cli/cli_runtime.py b/openhands/runtime/impl/cli/cli_runtime.pyindex acac7441f3..ae4752c2a8 100644--- a/openhands/runtime/impl/cli/cli_runtime.py+++ b/openhands/runtime/impl/cli/cli_runtime.py@@ -57,8 +57,8 @@ if TYPE_CHECKING:# Import Windows PowerShell support if on Windowsif sys.platform == 'win32':try:- from openhands.runtime.utils.windows_bash import WindowsPowershellSessionfrom openhands.runtime.utils.windows_exceptions import DotNetMissingError+ from openhands.runtime.utils.windows_bash import WindowsPowershellSession # isort: skipexcept (ImportError, DotNetMissingError) as err:# Print a user-friendly error message without stack tracefriendly_message = """