mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-10-20 05:15:31 +00:00
feat(cli): make reasoning effort session-scoped
This commit is contained in:
parent
8b6fde3a35
commit
8590c2d0d9
9 changed files with 269 additions and 50 deletions
4
cli.py
4
cli.py
|
|
@ -7151,11 +7151,15 @@ class HermesCLI(CLIAgentSetupMixin, CLICommandsMixin, CLIBillingMixin):
|
|||
self.conversation_history = []
|
||||
self._pending_title = None
|
||||
self._resumed = False
|
||||
self.reasoning_config = _parse_reasoning_config(
|
||||
CLI_CONFIG["agent"].get("reasoning_effort", "")
|
||||
)
|
||||
_sync_process_session_id(self.session_id)
|
||||
|
||||
if self.agent:
|
||||
self.agent.session_id = self.session_id
|
||||
self.agent.session_start = self.session_start
|
||||
self.agent.reasoning_config = self.reasoning_config
|
||||
self.agent.reset_session_state()
|
||||
if hasattr(self.agent, "_last_flushed_db_idx"):
|
||||
self.agent._last_flushed_db_idx = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue