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: config struct default values fallbacks #34

Merged
merged 1 commit into from
Apr 22, 2023
Merged

fix: config struct default values fallbacks #34

merged 1 commit into from
Apr 22, 2023

Conversation

mgallo
Copy link
Owner

@mgallo mgallo commented Apr 22, 2023

v0.5.0 introduced an issue reported here: #25 (comment)
the default values of the struct OpenAI.Config were only saved at compile time, causing problems with applications using the old version of the library. Fixed in this development by defaulting the configuration values correctly at runtime.

@mgallo mgallo merged commit 5c50190 into main Apr 22, 2023
@mgallo mgallo deleted the 0.5.1 branch April 22, 2023 12:27
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.

1 participant