Skip to main content

Module retry

Module retry 

Source
Expand description

Minimal shared retry policy for wire-level HTTP clients.

This module provides a lightweight RetryPolicy that classifies errors into retryable vs non-retryable categories. It is intentionally simpler than the full retry system in vtcode-core (which adds jitter, multipliers, tool-aware timeouts, and VtCodeError integration). Wire clients that only need “should I retry this HTTP call?” use this shared policy; richer retry loops keep their own domain-specific version.

Structs§

RetryDecision
Result of classifying a failure for retry handling.
RetryPolicy
Lightweight retry policy for HTTP wire clients.