feat: add proxy_url support to Conversation class#577
Open
8thgencore wants to merge 5 commits intoelevenlabs:mainfrom
Open
feat: add proxy_url support to Conversation class#5778thgencore wants to merge 5 commits intoelevenlabs:mainfrom
8thgencore wants to merge 5 commits intoelevenlabs:mainfrom
Conversation
* Added proxy_url as an optional parameter to the Conversation class. * Updated the _run method to utilize the proxy_url when establishing a WebSocket connection. This enhancement allows for better network configuration options during conversational AI sessions.
* Downgraded Poetry version in poetry.lock from 1.8.5 to 1.8.3. * Added python-socks (>=2.7.1) and socksio (1.0.0) to dependencies in pyproject.toml and requirements.txt. * Updated httpx to version 0.28.1 with socks extra in both pyproject.toml and requirements.txt. * Updated content hash in poetry.lock.
Collaborator
|
what's the reason for this change ? |
Contributor
Author
The reason for this change is to provide greater flexibility in network configurations when using the Conversation class. By adding proxy_url as an optional parameter, users can now route WebSocket connections through a proxy server if needed. This is particularly useful in environments with restricted direct internet access, such as corporate networks or certain cloud setups. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This enhancement allows for better network configuration options during conversational AI sessions.