Upgrading openai 0.20 to 0.22
Safe0.20.0 → 0.22.1New2Fixed3Other3
SafeUpgrade verdict
Only new features and fixes in this range.
In plain terms
- Nothing in this range needs changes to your code. It adds features and fixes.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
field EngineAPIResource.engine_required
- removed:
field Completion.engine_required - changed:
class Completion(EngineAPIResource, ListableAPIResource, DeletableAPIResource) → class Completion(EngineAPIResource)
- removed:
field Deployment.engine_required
- removed:
field Edit.engine_required
- removed:
field Embedding.engine_required - changed:
class Embedding(EngineAPIResource, ListableAPIResource, DeletableAPIResource) → class Embedding(EngineAPIResource)
- changed:
method ErrorObject.refresh_from(values, api_key=…, api_version=…, organization=…, response_ms: Optional[int]=…) → method ErrorObject.refresh_from(values, api_key=…, api_version=…, api_type=…, organization=…, response_ms: Optional[int]=…)
- removed:
field Model.engine_required
- removed:
field Search.engine_required