Skip to content

Commit

Permalink
Add Conversation ws max message size (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
nextgLoki authored Feb 13, 2025
1 parent 447362d commit 2620cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elevenlabs/conversational_ai/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def wait_for_session_end(self) -> Optional[str]:
return self._conversation_id

def _run(self, ws_url: str):
with connect(ws_url) as ws:
with connect(ws_url, max_size=16 * 1024 * 1024) as ws:
ws.send(
json.dumps(
{
Expand Down

0 comments on commit 2620cde

Please sign in to comment.