mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-01 12:02:05 +00:00
fix(agent): silence verification-stop loop status line (#53223)
The verify-on-stop guard (#52296) printed '↻ Verification required before finishing' to the terminal on every internal nudge turn, adding noise to CLI/gateway sessions whenever code was edited without fresh passing checks. Demote the user-facing status emit to a logger.debug breadcrumb — the loop still nudges the model to verify before finishing, just silently.
This commit is contained in:
parent
3c8d3ecfa0
commit
217047de2d
1 changed files with 5 additions and 1 deletions
|
|
@ -4694,7 +4694,11 @@ def run_conversation(
|
|||
"_verification_stop_synthetic": True,
|
||||
})
|
||||
agent._session_messages = messages
|
||||
agent._emit_status("↻ Verification required before finishing")
|
||||
# Run the verification-stop loop silently — the nudge is an
|
||||
# internal turn that should not add noise to the user's
|
||||
# terminal. Keep a debug breadcrumb in agent.log for tracing.
|
||||
logger.debug("verification stop-loop nudge issued (attempt %d)",
|
||||
agent._verification_stop_nudges)
|
||||
continue
|
||||
|
||||
messages.append(final_msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue