Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultRetryPolicy ¶
type DefaultRetryPolicy struct {
sleipnir.BaseMiddleware
}
DefaultRetryPolicy retries anyllm.ErrRateLimit and anyllm.ErrProvider with exponential backoff + 25% jitter. Stateless — the attempt count is passed in.
func (DefaultRetryPolicy) ShouldRetry ¶
Click to show internal directories.
Click to hide internal directories.