Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[pull] main from openai:main #2

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

Merged
merged 1 commit into from
Oct 27, 2021
Merged

[pull] main from openai:main #2

merged 1 commit into from
Oct 27, 2021

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 27, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

- Add `.isort.cfg` and fix imports to match.
- Exit with status 1 instead of 0 on error in `openai`.
- Support `openai.api_key_path` variable to make it easy to have long-running processes with auto-updated keys.
- Drop support for unverified SSL connections.
- Substantially simplify HTTP client code. Now that we use `requests` for everything, we do not need distinct `HTTPClient` and `APIRequestor` abstractions, and we can use the `requests` implementation for multipart data, rather than our own.
- Drop vestigial code originally from the Stripe client. For example, there was a bunch of code related to an idempotency framework; OpenAI does not have an idempotency framework.
- Drop support for `APIResource.delete` as an instance method; it is just a class method now.
- Drop support for `APIResource.save`; use `APIResource.modify` instead. This substantially simplifies API resources, since they no longer need to track changed fields, and there's less risk of race conditions. And the only thing it could be used for is changing the number of replicas an engine had, which does not justify the complexity of the code.
- Drop the request-metrics code. It is unused.
@pull pull bot added the ⤵️ pull label Oct 27, 2021
@pull pull bot merged commit 62f8d40 into mcx:main Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant