Skip to content

Retry Configuration

Utility functions for retry configuration.

get_default_retry_config()

Get the default retry configuration for the LM invoker.

Retry normalized rate-limit, connection, and provider service errors across providers. Authentication errors and timeouts do not retry.

Returns:

Name Type Description
RetryConfig RetryConfig

The default retry configuration for the LM invoker.