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

Upgrade OpenAI to APIV1 #43

Merged
merged 1 commit into from
Apr 13, 2024
Merged

Upgrade OpenAI to APIV1 #43

merged 1 commit into from
Apr 13, 2024

Conversation

piercefreeman
Copy link
Owner

@piercefreeman piercefreeman commented Apr 6, 2024

OpenAI rewrote their API in V1, which has additional features and should be more stable going forward. This PR updates the dependency to 1.16.x alongside all the handler code that interfaces with their API. The client contract of gpt-json remains unchanged, other than now requiring an API key to be passed explicitly during initialization. This was already best practice before so materially doesn't change any end implementation.

@piercefreeman piercefreeman merged commit 3a1c511 into main Apr 13, 2024
3 checks passed
@piercefreeman piercefreeman deleted the feature/upgrade-openai branch April 13, 2024 20:10
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