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

com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "logprobs" #236

Open
jiegege10 opened this issue Feb 6, 2024 · 2 comments

Comments

@jiegege10
Copy link

jiegege10 commented Feb 6, 2024

com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "logprobs" (class com.plexpt.chatgpt.entity.chat.ChatChoice), not marked as ignorable (4 known properties: "delta", "index", "message", "finish_reason"])
at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 13, column: 23] (through reference chain: com.plexpt.chatgpt.entity.chat.ChatCompletionResponse["choices"]->java.util.ArrayList[0]->com.plexpt.chatgpt.entity.chat.ChatChoice["logprobs"]), requestUrl=/message

大佬,这个报错是什么问题

@jiegege10 jiegege10 changed the title java.io.IOException: Unexpected response code for CONNECT: 400 not marked as ignorable (4 known properties: "delta", "index", "message", "finish_reason"]) Feb 6, 2024
@jiegege10 jiegege10 changed the title not marked as ignorable (4 known properties: "delta", "index", "message", "finish_reason"]) com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "logprobs" Feb 6, 2024
@Zaghdoudii
Copy link

I have the same problem :(

@itwanger
Copy link

升级到最新的 4.4.0 版本可以解决

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

No branches or pull requests

3 participants