Eagerly initialize MCP tools at startup so loading is logged to console
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -71,6 +71,9 @@ class AIService:
|
||||
self._mcp_tool_schemas: list[dict] | None = None
|
||||
self._mcp_tools_fetched: bool = False
|
||||
|
||||
async def initialize(self) -> None:
|
||||
await self._fetch_mcp_tool_schemas()
|
||||
|
||||
@property
|
||||
def enabled(self) -> bool:
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user