Add initialization for 'result' variable in ToolUsage class to resolve type-checker warnings

This commit is contained in:
Lorenze Jay
2025-03-31 12:20:16 -07:00
parent 08f0fc2285
commit 4deff49b70

View File

@@ -168,6 +168,7 @@ class ToolUsage:
started_at = time.time()
from_cache = False
result = None # type: ignore
if self.tools_handler and self.tools_handler.cache:
result = self.tools_handler.cache.read(