Problem when no ID is returned in respose! #425
stardomains3
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
"failed with exception: io.ktor.serialization.JsonConvertException: Illegal input: Field 'id' is required for type with serial name 'com.aallam.openai.api.chat.ChatCompletion', but it was missing at path: $" When using Google's OpenAI API compatible endpoint they aren't returning an ID and so I can't get the models response. Any way to make it ignore missing fields in deserialization? Server response 200 and got this from logging:
view json tree of that here: https://jsonformatter.org/json-viewer
Beta Was this translation helpful? Give feedback.
All reactions