We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c61e3c9 commit fd02592Copy full SHA for fd02592
astrbot/core/star/star_manager.py
@@ -371,7 +371,6 @@ async def load(self, plugin_modules=None):
371
inactivated_llm_tools = await sp.global_get("inactivated_llm_tools", [])
372
alter_cmd = await sp.global_get("alter_cmd", {})
373
374
- plugin_modules = self._get_plugin_modules()
375
if plugin_modules is None:
376
return False, "未找到任何插件模块"
377
logger.info(
@@ -988,7 +987,7 @@ def _build_star_graph(self):
988
987
metadata = self._load_plugin_metadata(plugin_dir_path)
989
if metadata:
990
for dep_name in metadata.dependencies:
991
- G.add_edge(root_dir_name, dep_name)
+ G.add_edge(dep_name, root_dir_name)
992
except Exception:
993
pass
994
# 过滤不存在的依赖(出边没有data, 就删除指向的节点)
0 commit comments