fix: update LLMCallStartedEvent message type to support multimodal content (#2475)

fix: sort imports in test file to fix linting

fix: properly sort imports with ruff

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-03-26 12:11:06 +00:00
committed by lucasgomide
parent 0b58911153
commit 49b8cc95ae
2 changed files with 47 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ class LLMCallStartedEvent(CrewEvent):
"""Event emitted when a LLM call starts"""
type: str = "llm_call_started"
messages: Union[str, List[Dict[str, str]]]
messages: Union[str, List[Dict[str, Any]]]
tools: Optional[List[dict]] = None
callbacks: Optional[List[Any]] = None
available_functions: Optional[Dict[str, Any]] = None