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

Fix LogProbs serialization bug #55

Merged
merged 3 commits into from
Jan 5, 2023
Merged

Conversation

KosmonikOS
Copy link
Contributor

Fix the problem connected with LogProbs serialization.
This problem occurs because the type of LogProbs in ChoiseResponse was int?, but the actual type of the return value was different. Add the LogProbsResponse class to deserialize it properly.
This problem was described in issue #54 (Including logprobs in request causes an error)

@KosmonikOS KosmonikOS changed the base branch from master to dev January 4, 2023 14:47
@kayhantolga
Copy link
Member

I made some developer-friendly changes, what do you think about them? @KosmonikOS

@KosmonikOS
Copy link
Contributor Author

Looks great

@kayhantolga kayhantolga merged commit 94e21d3 into betalgo:dev Jan 5, 2023
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

Successfully merging this pull request may close these issues.

2 participants