mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-27 01:11:40 +00:00
fix: setup wizard overwrites platform_toolsets saved by tools_command
The wizard and tools_command each loaded their own config dict. When tools_command saved platform_toolsets (with MoA/HA disabled), the wizard's final save_config() overwrote it with its own dict that lacked platform_toolsets entirely — resetting everything to defaults. Fix: pass the wizard's config dict into tools_command so they share the same object. Now platform_toolsets survives the wizard's final save.
This commit is contained in:
parent
7f9dd60c15
commit
37c3dcf551
2 changed files with 7 additions and 3 deletions
|
|
@ -1671,7 +1671,7 @@ def setup_tools(config: dict, first_install: bool = False):
|
|||
(no platform menu, prompts for all unconfigured API keys).
|
||||
"""
|
||||
from hermes_cli.tools_config import tools_command
|
||||
tools_command(first_install=first_install)
|
||||
tools_command(first_install=first_install, config=config)
|
||||
|
||||
|
||||
# =============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue