Skip to content

Commit

Permalink
adding mapping of websockets
Browse files Browse the repository at this point in the history
  • Loading branch information
Bolor-Erdene Jagdagdorj committed Jan 23, 2025
1 parent f084be1 commit 028e267
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pyrit/prompt_target/openai/openai_realtime_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,6 @@ async def cleanup_target(self):
logger.info(f"Disconnected from {self._endpoint}")
self._existing_conversation = {}
self.websocket = None
# if self.websocket:
# await self.websocket.close()
# self.websocket = None
# logger.info(f"Disconnected from {self._endpoint}")

async def send_response_create(self):
"""
Expand Down

0 comments on commit 028e267

Please sign in to comment.