Skip to content

No need to retry Error: 413: {"message": "Request Too Long"} #415

@david-j-lustig

Description

By default, braintrust-sdk-python has 3 retries with exponential backoff.
If the request is too long this is unnecessary, the request is not going to get any shorter on retries. For my service which calls braintrust I've implemented a patch, but think this is worth updating for everyone. Will put up a PR shortly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions