Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Qiu <[email protected]>
  • Loading branch information
bbqiu committed Dec 18, 2024
1 parent 57bf496 commit ff6740e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ def predict_stream(
self, messages: list[ChatAgentMessage], params: Optional[ChatAgentParams] = None
):
for event in self.agent.stream({"messages": self._convert_messages_to_dict(messages)}):
yield ChatAgentResponse(**event).to_dict()
yield ChatAgentResponse(**event)

0 comments on commit ff6740e

Please sign in to comment.