feat(agent): inject plugin installation directory into system prompt

This commit is contained in:
jxxghp
2026-05-25 08:21:19 +08:00
parent b08c335bb4
commit 5532f14efb
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -329,6 +329,7 @@ class PromptManager:
f"- 配置文件目录: {config_path}",
f"- 日志文件目录: {log_path}",
f"- 系统安装目录: {settings.ROOT_PATH}",
f"- 插件安装目录: {settings.ROOT_PATH / 'app' / 'plugins'}",
]
available_commands = self._get_available_shell_commands()