From ccdab45adb59324e6d5735f969e9f0bb476d0ef7 Mon Sep 17 00:00:00 2001 From: BeatrixCohere <128378696+BeatrixCohere@users.noreply.github.com> Date: Fri, 9 Aug 2024 12:49:12 +0100 Subject: [PATCH] Print --- src/backend/routers/tool.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backend/routers/tool.py b/src/backend/routers/tool.py index e50a5b720f..71aa5d9aeb 100644 --- a/src/backend/routers/tool.py +++ b/src/backend/routers/tool.py @@ -2,6 +2,7 @@ from backend.config.routers import RouterName from backend.config.tools import AVAILABLE_TOOLS +from backend.config.settings import Settings from backend.crud import agent as agent_crud from backend.database_models.database import DBSessionDep from backend.schemas.context import Context @@ -44,6 +45,9 @@ def list_tools( agent_tools.append(AVAILABLE_TOOLS[tool]) all_tools = agent_tools + redis_url = Settings().redis.url + logger.info(event=f"Redis URL: {redis_url}") + for tool in all_tools: if tool.is_available and tool.auth_implementation is not None: try: