openai4j icon indicating copy to clipboard operation
openai4j copied to clipboard

json deserialize problem

Open codexvn opened this issue 5 months ago • 2 comments

Cannot deserialize value of type java.lang.String from Array value (token JsonToken.START_ARRAY) at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: xxx

dev.ai4j.openai4j.chat.ChatCompletionRequest$Builder["messages"]->java.util.ArrayList[0]->dev.ai4j.openai4j.chat.UserMessage$Builder["content"])

Does json deserialization not currently supported?

codexvn avatar Sep 24 '24 13:09 codexvn