diff --git a/lib/crewai/src/crewai/llm.py b/lib/crewai/src/crewai/llm.py index ee12047fe..8c4e6dac7 100644 --- a/lib/crewai/src/crewai/llm.py +++ b/lib/crewai/src/crewai/llm.py @@ -1705,7 +1705,7 @@ class LLM(BaseLLM): from_agent: BaseAgent | None = None, response_model: type[BaseModel] | None = None, max_iterations: int = 10, - ) -> str | LLMResult | Any: + ) -> str | Any: """High-level LLM call method. Args: @@ -1797,7 +1797,7 @@ class LLM(BaseLLM): # Call the model WITHOUT available_functions so the internal # handler returns tool_calls as-is instead of executing them. raw = self._call_single( - messages=conversation, + messages=conversation, # type: ignore[arg-type] tools=tools, callbacks=callbacks, available_functions=None, # Don't let inner layer execute diff --git a/uv.lock b/uv.lock index 461c859a4..9f4cc8584 100644 --- a/uv.lock +++ b/uv.lock @@ -13,7 +13,7 @@ resolution-markers = [ ] [options] -exclude-newer = "2026-04-22T16:00:00Z" +exclude-newer = "2026-04-23T07:00:00Z" [manifest] members = [