Migrate to new openai API; see https://github.com/openai/openai-python/discussions/742. As noted in the README this is for backward compatibility only. Consider rewriting your code to use the new openai API directly rather than relying on openai-pygenerator.
0.5.7
- Removed unused dependency: returns
0.5.6
- Decreased default timeout to 20 seconds (from 60 seconds) - Increased default max tokens to 500 (from 100 tokens)
Note that both of the above are configurable, either through environment variables or programmatically - see the [README.md](./README.md).
0.5.5
This release will also retry when an `APIConnectionError` occurs.