mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 08:38:30 +00:00
Fix failing test
This commit is contained in:
@@ -343,6 +343,10 @@ class LLM:
|
|||||||
chunk_content = delta
|
chunk_content = delta
|
||||||
|
|
||||||
if chunk_content:
|
if chunk_content:
|
||||||
|
# Add the chunk content to the full response
|
||||||
|
full_response += chunk_content
|
||||||
|
|
||||||
|
# Emit the chunk event
|
||||||
crewai_event_bus.emit(
|
crewai_event_bus.emit(
|
||||||
self,
|
self,
|
||||||
event=LLMStreamChunkEvent(chunk=chunk_content),
|
event=LLMStreamChunkEvent(chunk=chunk_content),
|
||||||
|
|||||||
Reference in New Issue
Block a user