mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix(delegate): default inherit_mcp_toolsets=true, drop version bump
Follow-up on helix4u's PR #14211: - Flip default to true: narrowing toolsets=['web','browser'] expresses 'I want these extras', not 'silently strip MCP'. Parent MCP tools (registered at runtime) should survive narrowing by default. - Drop _config_version bump (22->23); additive nested key under delegation.* is handled by _deep_merge, no migration needed. - Update tests to reflect new default behavior.
This commit is contained in:
parent
3e96c87f37
commit
7d8b2eee63
4 changed files with 37 additions and 35 deletions
|
|
@ -379,7 +379,7 @@ def _get_orchestrator_enabled() -> bool:
|
|||
def _get_inherit_mcp_toolsets() -> bool:
|
||||
"""Whether narrowed child toolsets should keep the parent's MCP toolsets."""
|
||||
cfg = _load_config()
|
||||
return is_truthy_value(cfg.get("inherit_mcp_toolsets"), default=False)
|
||||
return is_truthy_value(cfg.get("inherit_mcp_toolsets"), default=True)
|
||||
|
||||
|
||||
def _is_mcp_toolset_name(name: str) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue