From 8252254a51e62e07f19f4c8b36120110b9767e63 Mon Sep 17 00:00:00 2001 From: Nathan Nowack Date: Tue, 31 Oct 2023 08:58:50 -0500 Subject: [PATCH] add local git ignore --- src/marvin/deployment/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = (