Skip to content

fix(tools): add messaging to CONFIGURABLE_TOOLSETS - #6007

Closed
r266-tech wants to merge 2 commits into
NousResearch:mainfrom
r266-tech:fix/messaging-toolset-configurable
Closed

fix(tools): add messaging to CONFIGURABLE_TOOLSETS#6007
r266-tech wants to merge 2 commits into
NousResearch:mainfrom
r266-tech:fix/messaging-toolset-configurable

Conversation

@r266-tech

Copy link
Copy Markdown
Contributor

Summary

Tools registered to the messaging toolset (e.g. send_message) are silently dropped from every messaging-platform session (Telegram, Discord, Slack, WhatsApp, Signal, Matrix) because messaging has no entry in CONFIGURABLE_TOOLSETS.

Root cause

_get_platform_tools() resolves composite toolset names (e.g. hermes-matrix) by calling resolve_toolset() then reverse-mapping individual tool names back to CONFIGURABLE_TOOLSETS keys. Since messaging is not listed there, the subset-match at line 521-524 never adds it, and send_message is silently excluded from the tool list passed to get_tool_definitions().

Fix

Add ("messaging", "📨 Cross-platform Messaging", "send_message") to CONFIGURABLE_TOOLSETS — same pattern as every other registered toolset.

Changes

  • hermes_cli/tools_config.py: Add messaging entry to CONFIGURABLE_TOOLSETS
  • tests/hermes_cli/test_tools_config.py: Add regression test asserting messaging is in configurable keys

Fixes #5991

Tools registered to the 'messaging' toolset (e.g. send_message) are silently
dropped from every messaging-platform session because 'messaging' has no entry
in CONFIGURABLE_TOOLSETS.  The subset-matching logic in _get_platform_tools()
only adds toolset keys that appear in CONFIGURABLE_TOOLSETS, so send_message
is never included in the resolved tool list.

Fixes NousResearch#5991
@teknium1

Copy link
Copy Markdown
Contributor

Superseded by PR #10114 (salvaged from #8934 which had the best test coverage). Same fix — messaging added to CONFIGURABLE_TOOLSETS. Thanks @r266-tech!

@teknium1 teknium1 closed this Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tools registered to non-CONFIGURABLE_TOOLSETS keys are silently dropped from messaging-platform sessions

2 participants