diff --git a/llama-index-core/llama_index/core/agent/react/step.py b/llama-index-core/llama_index/core/agent/react/step.py index e61e79e6c6ab88f5c9c3fb67f81f751395066d43..df63ba76987299c42c2c17dc184c842fff295083 100644 --- a/llama-index-core/llama_index/core/agent/react/step.py +++ b/llama-index-core/llama_index/core/agent/react/step.py @@ -691,8 +691,8 @@ class ReActAgentWorker(BaseAgentWorker): start_idx + len("Answer:") : ].strip() - # set delta to the content, minus the "Answer: " - latest_chunk.delta = latest_chunk.message.content + # set delta to the content, minus the "Answer: " + latest_chunk.delta = latest_chunk.message.content # add back the chunks that were missed response_stream = self._add_back_chunk_to_stream(