1 parent b8010ba commit af3f11dCopy full SHA for af3f11d
1 file changed
python_agent_harness/tui/commands.py
@@ -13,7 +13,6 @@
13
from typing import TYPE_CHECKING, Any
14
15
from prompt_toolkit import PromptSession
16
-from prompt_toolkit.patch_stdout import patch_stdout
17
from rich.console import Console
18
from rich.live import Live
19
@@ -414,8 +413,7 @@ def _run_model_command(self, arg: str) -> None:
414
413
415
# Prompt user for selection
416
try:
417
- with patch_stdout():
418
- selection = self.prompt_session.prompt("Select model: ").strip()
+ selection = input("Select model: ").strip()
419
if not selection:
420
return
421
0 commit comments