Skip to content

Commit decc785

Browse files
authored
fix(cli): pass conversation_history in quiet mode with --resume (NousResearch#2357)
fix(cli): pass conversation_history in quiet mode with --resume
2 parents 1f1fa71 + 97108db commit decc785

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7267,7 +7267,10 @@ def main(
72677267
route_label=turn_route["label"],
72687268
):
72697269
cli.agent.quiet_mode = True
7270-
result = cli.agent.run_conversation(query)
7270+
result = cli.agent.run_conversation(
7271+
user_message=query,
7272+
conversation_history=cli.conversation_history,
7273+
)
72717274
response = result.get("final_response", "") if isinstance(result, dict) else str(result)
72727275
if response:
72737276
print(response)

0 commit comments

Comments
 (0)