| Crates.io | serdes-ai-retries |
| lib.rs | serdes-ai-retries |
| version | 0.1.2 |
| created_at | 2026-01-15 23:07:48.155985+00 |
| updated_at | 2026-01-23 16:43:54.005834+00 |
| description | Retry strategies and error handling for serdes-ai |
| homepage | |
| repository | https://github.com/janfeddersen-wq/serdesAI |
| max_upload_size | |
| id | 2047319 |
| size | 92,482 |
Retry strategies and error handling for serdes-ai
This crate provides retry capabilities for SerdesAI:
[dependencies]
serdes-ai-retries = "0.1"
use serdes_ai_retries::{RetryStrategy, ExponentialBackoff};
let strategy = ExponentialBackoff::new()
.max_retries(3)
.initial_delay(Duration::from_millis(100))
.max_delay(Duration::from_secs(10));
let agent = Agent::new(model)
.retry_strategy(strategy)
.build();
This crate is part of the SerdesAI workspace.
For most use cases, you should use the main serdes-ai crate which re-exports these types.
MIT License - see LICENSE for details.