-
Notifications
You must be signed in to change notification settings - Fork 865
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
langserve version issues #112
Comments
can You please give more explanation on how to fix this issue? because I keep running into it even after I changed the requirements.txt to hardcode the langserve version: |
Here is my requirements.txt that is working for me:
I also hard set Let me know if that works for you |
quick fix |
- Changed the reference statement of _unpack_input from 'from langserve.server ~' to 'from langserve.api_handler ~'
Wanted to drop a friendly note here.
Setting up the backend, I was running into this issue:
python:
3.11.7
pip:
23.3.1
I noticed the issue came from the requirements:
langserve>=0.0.23
Which was installing
langserve 0.0.36
I checked the Docker build (which was working) and the langserve version was
0.0.32
Of course, the issue has to do with the new change in langserve, but for other folks out there the quick fix is to change the requirements.txt to hardcode the langserve version:
langserve==0.0.32
The text was updated successfully, but these errors were encountered: