diff --git a/src/ai/backend/common/plugin/__init__.py b/src/ai/backend/common/plugin/__init__.py index 242210e2..558d0e0f 100644 --- a/src/ai/backend/common/plugin/__init__.py +++ b/src/ai/backend/common/plugin/__init__.py @@ -138,9 +138,10 @@ def discover_plugins( async def init(self) -> None: hook_plugins = self.discover_plugins(self.plugin_group) for plugin_name, plugin_entry in hook_plugins: - plugin_config = await self.etcd.get_prefix( - f"config/plugins/{self._group_key}/{plugin_name}/" - ) + plugin_config = { + **(await self.etcd.get_prefix(f"config/plugins/_/{plugin_name}/")), + **(await self.etcd.get_prefix(f"config/plugins/{self._group_key}/{plugin_name}/")), + } try: plugin_instance = plugin_entry(plugin_config, self.local_config) await plugin_instance.init()