mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix(acp): use raw server name as registry key, only sanitize for tool name prefixes
This commit is contained in:
parent
9b2fb1cc2e
commit
9aa82d4807
1 changed files with 2 additions and 2 deletions
|
|
@ -106,11 +106,11 @@ class HermesACPAgent(acp.Agent):
|
|||
return
|
||||
|
||||
try:
|
||||
from tools.mcp_tool import register_mcp_servers, sanitize_mcp_name_component
|
||||
from tools.mcp_tool import register_mcp_servers
|
||||
|
||||
config_map: dict[str, dict] = {}
|
||||
for server in mcp_servers:
|
||||
name = sanitize_mcp_name_component(server.name)
|
||||
name = server.name
|
||||
if isinstance(server, McpServerStdio):
|
||||
config = {
|
||||
"command": server.command,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue