Skip to content

[BUG] OpenAI SDK default timeout is not sufficient for chat completions, it should be configurable per operation #39491

Open
@lmolkova

Description

@lmolkova

OpenAI operations can easily take a minute (based on my experiments), so the default response timeout of 60 sec is not enough.
OpenAI python SDK sets response timeout to 10 min (and connect timeout to 5 sec) - https://github.com/openai/openai-python/blob/main/src/openai/_constants.py#L9

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.OpenAI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions