Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
willydouhard committed Jun 23, 2023
1 parent 9551f75 commit 41c5da2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 331 deletions.
2 changes: 2 additions & 0 deletions src/chainlit/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def __post_init__(self) -> None:

def to_dict(self) -> Dict:
_dict = {
"tempId": self.tempId,
"type": self.type,
"url": self.url,
"name": self.name,
Expand Down Expand Up @@ -108,6 +109,7 @@ async def send(self, for_id: str = None):

element = self.to_dict()

element["id"] = self.id
element["content"] = self.content

if self.emitter.emit and element:
Expand Down
Loading

0 comments on commit 41c5da2

Please sign in to comment.