Openai-pygenerator

Latest version: v0.6.2

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

0.5.4

Added new environment variable `GPT_REQUEST_TIMEOUT_SECONDS` which overrides the `request_timeout` parameter when calling the OpenAI API.

For more details see https://community.openai.com/t/configuring-timeout-for-chatcompletion-python/107226/24?page=2.

0.5.2

Added new environment variable `GPT_REQUEST_TIMEOUT_SECONDS` which overrides the `request_timeout` parameter when calling the OpenAI API.

For more details see https://community.openai.com/t/configuring-timeout-for-chatcompletion-python/107226/24?page=2.

0.5.1

- updated readme with explanations and links to functional-programming concepts

0.5.0

- retry on 500 status

0.4.9

- retry on openai.error.TimeoutError

0.4.8

- catch more general TimeoutError when retrying (includes ReadTimeoutError, ConnectTimeoutError etc.)

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.