diff --git a/src/marvin/deployment/__init__.py b/src/marvin/deployment/__init__.py index 3b4f878ea..60057dd90 100644 --- a/src/marvin/deployment/__init__.py +++ b/src/marvin/deployment/__init__.py @@ -42,7 +42,7 @@ def _mount_router(self): if isinstance(self._controller, AIApplication): name = self._controller.name - base_path = f"/{name.lower()}" + base_path = f"/{name.lower()}" if name else "aiapp" self._router.get(base_path, tags=[name])(self._controller.entrypoint) for tool in self._controller.tools: name, fn = (