Skip to content

Commit af3f11d

Browse files
authored
Update commands.py
1 parent b8010ba commit af3f11d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎python_agent_harness/tui/commands.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from typing import TYPE_CHECKING, Any
1414

1515
from prompt_toolkit import PromptSession
16-
from prompt_toolkit.patch_stdout import patch_stdout
1716
from rich.console import Console
1817
from rich.live import Live
1918

@@ -414,8 +413,7 @@ def _run_model_command(self, arg: str) -> None:
414413

415414
# Prompt user for selection
416415
try:
417-
with patch_stdout():
418-
selection = self.prompt_session.prompt("Select model: ").strip()
416+
selection = input("Select model: ").strip()
419417
if not selection:
420418
return
421419

0 commit comments

Comments
 (0)