-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
httpx 0.28.0 removed proxies in httpx.Client, result in error #1915
Labels
bug
Something isn't working
Comments
I just found it is already fixed with the most recent openai package. |
All good, thanks for the report :) For anyone who would find this GitHub issue and are looking for the context/solution:
|
dagardner-nv
added a commit
to dagardner-nv/Morpheus
that referenced
this issue
Dec 14, 2024
Templatize langchain versions Add dependency to langchain-openai, as openai is being removed from langchain-community
rapids-bot bot
pushed a commit
to nv-morpheus/Morpheus
that referenced
this issue
Dec 16, 2024
* Work-around known openai incompatibility with httpx v0.28 (openai/openai-python#1915) * Templatize the llm pip dependencies * Replace deprecated imports of openai from langchain and langchain_community Closes #2084 ## By Submitting this PR I confirm: - I am familiar with the [Contributing Guidelines](https://github.com/nv-morpheus/Morpheus/blob/main/docs/source/developer_guide/contributing.md). - When the PR is ready for review, new or existing tests cover these changes. - When the PR is ready for review, the documentation is up to date with these changes. Authors: - David Gardner (https://github.com/dagardner-nv) Approvers: - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah) URL: #2083
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
httpx 0.28.0 removed proxies in httpx.Client, result in error:
To Reproduce
With a python file with the following content can reproduce the error:
Output of
pip freeze
: (note httpx is 0.28.0)Code snippets
No response
OS
Linux Ubuntu 22.04.3 LTS
Python version
Python 3.13.0
Library version
openai==1.54.4
The text was updated successfully, but these errors were encountered: