diff --git a/utils/agent.py b/utils/agent.py index bcabeae..0ac8a62 100644 --- a/utils/agent.py +++ b/utils/agent.py @@ -168,7 +168,7 @@ class Agent: session_id=self.session_id ) - async with self.agent.run_stream( + async with self.agent.run_stream_events( user_prompt=user_prompt, message_history=message_history, ) as result: