From 5808ce7a4ec0b9b0bd7c4e2babdd98dde691a790 Mon Sep 17 00:00:00 2001 From: Bright Oparaji Date: Mon, 7 Sep 2026 14:32:57 +0100 Subject: [PATCH] docs(events): remove stale params from handle_llm_stream_chunk docstring The Args block for ConsoleFormatter.handle_llm_stream_chunk listed 'chunk' and 'crew_tree' parameters that no longer exist on the method. The signature was refactored to (accumulated_text, call_type) but the docstring was not updated. Callers in event_listener.py pass only the two real params. Refs #7312. --- lib/crewai/src/crewai/events/utils/console_formatter.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/crewai/src/crewai/events/utils/console_formatter.py b/lib/crewai/src/crewai/events/utils/console_formatter.py index ada09a3d81..733c0ff23c 100644 --- a/lib/crewai/src/crewai/events/utils/console_formatter.py +++ b/lib/crewai/src/crewai/events/utils/console_formatter.py @@ -589,9 +589,7 @@ def handle_llm_stream_chunk( """Handle LLM stream chunk event - display streaming text in a panel. Args: - chunk: The new chunk of text received. accumulated_text: All text accumulated so far. - crew_tree: Unused (kept for API compatibility). call_type: The type of LLM call (LLM_CALL or TOOL_CALL). """ if not self.verbose: