mirror of
https://github.com/FuQuan233/nonebot-plugin-llmchat.git
synced 2026-02-05 11:38:05 +00:00
♻️ fix lint
This commit is contained in:
parent
63e446d5e4
commit
5bd92dfda6
2 changed files with 2 additions and 2 deletions
|
|
@ -173,7 +173,7 @@ class MCPClient:
|
|||
# 检查是否是OneBot工具
|
||||
if tool_name.startswith("ob__"):
|
||||
return self.onebot_tools.get_friendly_name(tool_name)
|
||||
|
||||
|
||||
# MCP工具处理
|
||||
server_name, real_tool_name = tool_name.split("___")
|
||||
return (self.server_config[server_name].friendly_name or server_name) + " - " + real_tool_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue