Agent Zero AI framework
fix: always check project-level plugin config as fallback (fixes #1548)
octo-patch2d0b164081e0
diff --git a/helpers/plugins.py b/helpers/plugins.pyindex 44f13a0b9..45bac7b05 100644--- a/helpers/plugins.py+++ b/helpers/plugins.py@@ -752,13 +752,12 @@ def find_plugin_assets()if _collect(path, project_name, agent_profile):return results- if not agent_profile or agent_profile == "*":- # project/.a0proj/plugins/<plugin_name>/...- path = projects.get_project_meta(- project_name, files.PLUGINS_DIR, plugin_name, *subpaths- )- if _collect(path, project_name, ""):- return results+ # project/.a0proj/plugins/<plugin_name>/... (always check as fallback, even when agent_profile is set)+ path = projects.get_project_meta(+ project_name, files.PLUGINS_DIR, plugin_name, *subpaths+ )+ if _collect(path, project_name, ""):+ return results# usr/agents/<profile>/plugins/<plugin_name>/...if agent_profile: