Skip to content

Commit 7261cf9

Browse files
authored
Update commands.py
1 parent 3ae8871 commit 7261cf9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

python_agent_harness/tui/commands.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
import threading
1313
from typing import TYPE_CHECKING, Any
1414

15+
from prompt_toolkit import PromptSession
16+
from prompt_toolkit.patch_stdout import patch_stdout
1517
from rich.console import Console
1618
from rich.live import Live
17-
from prompt_toolkit.patch_stdout import patch_stdout
1819

1920
from .. import config
2021
from ..commands import find_command
@@ -45,6 +46,7 @@ class CommandMixin:
4546
if TYPE_CHECKING:
4647
session: Session
4748
console: Console
49+
prompt_session: PromptSession
4850
conversation_history: list[Message]
4951
_history_dirty: bool
5052
_data_event: threading.Event

0 commit comments

Comments
 (0)