mirror of https://github.com/aliasrobotics/cai.git
Fix CAI prompt issue 303 (#306)
Co-authored-by: Maria <maria@aliasrobotics.com>
This commit is contained in:
parent
3ca769c577
commit
1bdc0522d7
|
|
@ -709,6 +709,8 @@ def run_cai_cli(
|
|||
# No agent selection menu - just run all agents
|
||||
|
||||
except KeyboardInterrupt:
|
||||
# Print newline to ensure clean prompt display after interrupt
|
||||
print()
|
||||
|
||||
def format_time(seconds):
|
||||
mins, secs = divmod(int(seconds), 60)
|
||||
|
|
@ -1699,6 +1701,9 @@ def run_cai_cli(
|
|||
start_idle_timer()
|
||||
|
||||
except KeyboardInterrupt:
|
||||
# Print newline to ensure clean prompt display after interrupt
|
||||
print()
|
||||
|
||||
# Clean up any active streaming panels
|
||||
try:
|
||||
from cai.util import cleanup_all_streaming_resources
|
||||
|
|
|
|||
Loading…
Reference in New Issue