Skip to content

Commit a65875a

Browse files
authored
Update get_signed_url for conversation.py (elevenlabs#414)
Was running into an error when using the Python convAI example code -> AttributeError: 'ElevenLabs' object has no attribute 'get_signed_url' Bug reported by user: elevenlabs#413 This change seems to fix it.
1 parent bc167cb commit a65875a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/elevenlabs/conversational_ai/conversation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,5 +229,5 @@ def _get_wss_url(self):
229229
return f"{base_ws_url}/v1/convai/conversation?agent_id={self.agent_id}"
230230

231231
def _get_signed_url(self):
232-
response = self.client.get_signed_url(agent_id=self.agent_id)
232+
response = self.client.conversational_ai.get_signed_url(agent_id=self.agent_id)
233233
return response.signed_url

0 commit comments

Comments
 (0)