Skip to content

Commit

Permalink
Print
Browse files Browse the repository at this point in the history
  • Loading branch information
BeatrixCohere committed Aug 9, 2024
1 parent ff63ce2 commit ccdab45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/backend/routers/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ccdab45

Please sign in to comment.