Skip to content

Conversation

8thgencore
Copy link
Contributor

  • 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.

* 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.
@AngeloGiacco
Copy link
Collaborator

what's the reason for this change ?

@8thgencore
Copy link
Contributor Author

what's the reason for this change ?

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants