Skip to content

com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "completion_tokens_details" (class com.plexpt.chatgpt.entity.billing.Usage), not marked as ignorable (3 known properties: "prompt_tokens", "completion_tokens", "total_tokens"]) #320

Description

@165149324

Exception in thread "main" java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "completion_tokens_details" (class com.plexpt.chatgpt.entity.billing.Usage), not marked as ignorable (3 known properties: "prompt_tokens", "completion_tokens", "total_tokens"])
at [Source: (okhttp3.ResponseBody$BomAwareReader); line: 22, column: 35] (through reference chain: com.plexpt.chatgpt.entity.chat.ChatCompletionResponse["usage"]->com.plexpt.chatgpt.entity.billing.Usage["completion_tokens_details"])
at io.reactivex.internal.util.ExceptionHelper.wrapOrThrow(ExceptionHelper.java:45)
at io.reactivex.internal.observers.BlockingMultiObserver.blockingGet(BlockingMultiObserver.java:90)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions