From 97108db03806ea5b8be8d5902ce23b5496e13518 Mon Sep 17 00:00:00 2001 From: christopher-kapic Date: Sat, 21 Mar 2026 12:51:34 -0700 Subject: [PATCH] fix(cli): pass conversation_history in quiet mode with --resume hermes chat -q 'msg' --resume SESSION_ID loaded the session history but never passed it to run_conversation(), so the model responded without prior context. The interactive mode already does this correctly. Based on work by christopher-kapic in PR #2081. Fixes #2106. --- cli.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cli.py b/cli.py index e0755c17..9bfb01b8 100755 --- a/cli.py +++ b/cli.py @@ -7267,7 +7267,10 @@ def main( route_label=turn_route["label"], ): cli.agent.quiet_mode = True - result = cli.agent.run_conversation(query) + result = cli.agent.run_conversation( + user_message=query, + conversation_history=cli.conversation_history, + ) response = result.get("final_response", "") if isinstance(result, dict) else str(result) if response: print(response)