Skip to content

Commit

Permalink
Merge pull request #7 from ProseGuys/fix_from_dict_bugs
Browse files Browse the repository at this point in the history
[fix] fix bugs about from_dict function
  • Loading branch information
liunux4odoo authored Mar 28, 2024
2 parents 5da2459 + 77275a2 commit 6179c41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions streamlit_chatbox/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def from_dict(
msg = {
"role": h["role"],
"elements": [OutputElement.from_dict(y) for y in h["elements"]],
"metadata": h["metadata"],
}
self.other_history(name).append(msg)

Expand Down

0 comments on commit 6179c41

Please sign in to comment.