From 21c42a4f140d07bed1b1f5bb27bb4dc71c969440 Mon Sep 17 00:00:00 2001 From: Brandon Hancock Date: Wed, 5 Mar 2025 14:18:34 -0500 Subject: [PATCH] Fix failing test --- src/crewai/llm.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/crewai/llm.py b/src/crewai/llm.py index b2f629e2a..e15ea61ea 100644 --- a/src/crewai/llm.py +++ b/src/crewai/llm.py @@ -343,6 +343,10 @@ class LLM: chunk_content = delta if chunk_content: + # Add the chunk content to the full response + full_response += chunk_content + + # Emit the chunk event crewai_event_bus.emit( self, event=LLMStreamChunkEvent(chunk=chunk_content),