refactor(agent): rename list_all_commands to list_slash_commands and skill to command-dispatch

This commit is contained in:
jxxghp
2026-04-07 00:00:10 +08:00
parent a8fb4a6d84
commit 9fefd807f9
4 changed files with 19 additions and 19 deletions

View File

@@ -51,7 +51,7 @@ from app.agent.tools.impl.browse_webpage import BrowseWebpageTool
from app.agent.tools.impl.query_installed_plugins import QueryInstalledPluginsTool
from app.agent.tools.impl.query_plugin_capabilities import QueryPluginCapabilitiesTool
from app.agent.tools.impl.run_slash_command import RunSlashCommandTool
from app.agent.tools.impl.list_all_commands import ListAllCommandsTool
from app.agent.tools.impl.list_slash_commands import ListSlashCommandsTool
from app.core.plugin import PluginManager
from app.log import logger
from .base import MoviePilotTool
@@ -127,7 +127,7 @@ class MoviePilotToolFactory:
QueryInstalledPluginsTool,
QueryPluginCapabilitiesTool,
RunSlashCommandTool,
ListAllCommandsTool,
ListSlashCommandsTool,
]
# 创建内置工具
for ToolClass in tool_definitions: