-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug]: logprobs=True
with stream=True
is broken (OpenAI and Azure OpenAI)
#3253
Comments
this is serious. thanks for raising this @Manouchehri aiming to tackle this after merging in the no-cache pr today. |
hi @Manouchehri unable to repro - i just called the proxy with the params |
closing out as this looks related to user's pydantic version - tiangolo/fastapi#9709 |
It's not my pydantic though, I'm using the Dockerfile.database. |
reopening - able to repro on deployed endpoint - https://litellm-main-v1-35-20.onrender.com/ |
Locally - i'm running pydantic v On docker, it's - v Testing if changing version on hosted endpoint fixes this. |
This looks like it came from a new openai release - openai/openai-python#1306 |
Confirmed fixed in v1.35.21 for me as well, thanks! |
What happened?
This should work, as upstream OpenAI supports it.
Relevant log output
No response
Twitter / LinkedIn details
https://twitter.com/DaveManouchehri
The text was updated successfully, but these errors were encountered: