Skip to content

Commit

Permalink
Add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
moshemorad committed Jan 24, 2025
1 parent b7c024c commit 7ebb6c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions holmes/config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from functools import lru_cache
import logging
import os
import yaml
Expand Down Expand Up @@ -240,6 +241,7 @@ def create_console_tool_executor(
)
return ToolExecutor(enabled_toolsets)

lru_cache()
def create_tool_executor(self, dal: Optional[SupabaseDal]) -> ToolExecutor:
"""
Creates ToolExecutor for the server endpoints
Expand Down

0 comments on commit 7ebb6c8

Please sign in to comment.