Skip to content

Improve behaviour for read timeouts #809

Open
@RobertCraigie

Description

@RobertCraigie

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

The fix for #769 involved adding retries for httpx.ReadTimeout exceptions which works but as the default timeout is 10 minutes, this can quickly rack up time spent in API requests.

We should figure out a better solution here.

To Reproduce

N/A

Code snippets

No response

OS

N/A

Python version

N/A

Library version

v1.2.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions