Skip to content

Self-hosted AI workspace.

Python

Remove duplicate tool index startup warmup

LittleLlama2dd31304e559
diff --git a/app.py b/app.py
index d45161e9b..7fa69b17f 100644
--- a/app.py
+++ b/app.py
@@ -818,7 +818,6 @@ async def startup_event():
from src.tool_index import get_tool_index
idx = await asyncio.to_thread(get_tool_index)
if idx:
- await asyncio.to_thread(idx.index_builtin_tools)
await asyncio.to_thread(idx.get_tools_for_query, "warmup", 8)
logger.info("[startup] Tool index pre-warmed")
except Exception as e: