Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some OpenAPI Compatible APIs like Ollama don't always return `lobprobs` as part of the `choices` JSON. To handle this we need to add a default argument to `logprobs` so upickle can handle this case. A private case class is used to avoid having to change the order of arguments which would be a breaking change.
- Loading branch information