Skip to content
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

The response JSON is always truncated, resulting in an unexpected answer. #6

Open
ChambersXDU opened this issue Sep 19, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ChambersXDU
Copy link

I choose litellm and use a gpt-4o-mini model.

I found that every time I asked a question, it seem to return many similar contents, at the end of each content, the JSON is incomplete.

image

image

image

What happened? how can I solve it?

@tcsenpai
Copy link
Owner

I will have to find a key for 4o-mini to reproduce this.

I think is (as usual in these cases) prompt related.

I will try to add a specific provider for OpenAI to stop having this issue too.

If anyone wants to try to solve this, you are most welcome.

@tcsenpai tcsenpai added bug Something isn't working help wanted Extra attention is needed labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants