From 1b855b4ff97d3fc8bf6dc0981fed5f0999a7cd81 Mon Sep 17 00:00:00 2001 From: Bright Oparaji Date: Mon, 7 Sep 2026 14:40:44 +0100 Subject: [PATCH] docs(events): remove stale params from handle_llm_stream_chunk docstring (#7313) 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 ada09a3d8..733c0ff23 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 @@ To enable tracing, do any one of these: """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: