Skip to content

Commit

Permalink
Merge branch 'main' into bugfix-async-aoss-vector-stores
Browse files Browse the repository at this point in the history
  • Loading branch information
Aydin-ab authored Dec 20, 2024
2 parents ff4215c + 9750a05 commit 841177e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama-index-core/llama_index/core/chat_engine/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ async def awrite_response_to_history(
# NOTE: this is to handle the special case where we consume some of the
# chat stream, but not all of it (e.g. in react agent)
chat.message.content = final_text.strip() # final message
memory.put(chat.message)
await memory.aput(chat.message)
except Exception as e:
dispatcher.event(StreamChatErrorEvent(exception=e))
self.exception = e
Expand Down

0 comments on commit 841177e

Please sign in to comment.