mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-21 10:22:18 +00:00
fix: keep CLI idle timer ticking (#45592)
This commit is contained in:
parent
aa53a78d67
commit
6724daa2c2
1 changed files with 7 additions and 0 deletions
7
cli.py
7
cli.py
|
|
@ -12798,6 +12798,13 @@ class HermesCLI(CLIAgentSetupMixin, CLICommandsMixin):
|
||||||
style=style,
|
style=style,
|
||||||
full_screen=False,
|
full_screen=False,
|
||||||
mouse_support=False,
|
mouse_support=False,
|
||||||
|
# The status bar contains wall-clock read-outs (live prompt elapsed
|
||||||
|
# and idle-since-last-turn). Once a turn finishes there may be no
|
||||||
|
# further events to invalidate the app, so prompt_toolkit would keep
|
||||||
|
# rendering the first post-turn value (usually ``✓ 0s``) forever.
|
||||||
|
# A low-rate refresh keeps the clock honest without reintroducing a
|
||||||
|
# custom repaint thread or touching conversation state.
|
||||||
|
refresh_interval=1.0,
|
||||||
# Erase the live bottom chrome (status bar, input box, separator
|
# Erase the live bottom chrome (status bar, input box, separator
|
||||||
# rules) on exit instead of freezing a final copy into scrollback.
|
# rules) on exit instead of freezing a final copy into scrollback.
|
||||||
# Without this, prompt_toolkit's render_as_done teardown repaints
|
# Without this, prompt_toolkit's render_as_done teardown repaints
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue