mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 16:22:49 +00:00
Fix type validation in ToolUsageFinishedEvent to accept any result type
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -34,7 +34,7 @@ class ToolUsageFinishedEvent(ToolUsageEvent):
|
||||
started_at: datetime
|
||||
finished_at: datetime
|
||||
from_cache: bool = False
|
||||
result: Union[str, dict, None] = None # Tool execution result
|
||||
result: Any = None # Tool execution result
|
||||
type: str = "tool_usage_finished"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user