1 parent 3ae8871 commit 7261cf9Copy full SHA for 7261cf9
1 file changed
python_agent_harness/tui/commands.py
@@ -12,9 +12,10 @@
12
import threading
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
-from prompt_toolkit.patch_stdout import patch_stdout
19
20
from .. import config
21
from ..commands import find_command
@@ -45,6 +46,7 @@ class CommandMixin:
45
46
if TYPE_CHECKING:
47
session: Session
48
console: Console
49
+ prompt_session: PromptSession
50
conversation_history: list[Message]
51
_history_dirty: bool
52
_data_event: threading.Event
0 commit comments