mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
feat: add interactive tool configuration command
- Introduced a new `tools` command in the CLI for configuring enabled tools per platform. - Implemented an interactive checklist for users to enable or disable toolsets for various platforms, enhancing customization options. - Created a new `tools_config.py` file to handle the logic for toolset management and user prompts, improving code organization and user experience.
This commit is contained in:
parent
a9d16c40c7
commit
b103bb4c8b
2 changed files with 297 additions and 0 deletions
|
|
@ -1001,6 +1001,21 @@ For more help on a command:
|
|||
|
||||
skills_parser.set_defaults(func=cmd_skills)
|
||||
|
||||
# =========================================================================
|
||||
# tools command
|
||||
# =========================================================================
|
||||
tools_parser = subparsers.add_parser(
|
||||
"tools",
|
||||
help="Configure which tools are enabled per platform",
|
||||
description="Interactive tool configuration — enable/disable tools for CLI, Telegram, Discord, etc."
|
||||
)
|
||||
|
||||
def cmd_tools(args):
|
||||
from hermes_cli.tools_config import tools_command
|
||||
tools_command(args)
|
||||
|
||||
tools_parser.set_defaults(func=cmd_tools)
|
||||
|
||||
# =========================================================================
|
||||
# sessions command
|
||||
# =========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue