diff options
| author | dev <dev@localhost> | 2026-10-21 18:37:27 +0000 |
|---|---|---|
| committer | dev <dev@localhost> | 2026-10-21 18:37:27 +0000 |
| commit | 9d40159cad3b55c753ed02e7a4dee8cc7b6d15eb (patch) | |
| tree | 05572dd06f27e5817272f80e04bb7609f19b3f61 /Cargo.toml | |
| parent | 3705a6141c42a828e714853d089c48e88a232de5 (diff) | |
| download | aichat-9d40159cad3b55c753ed02e7a4dee8cc7b6d15eb.tar.gz | |
Add request timeout and retry support to aichat HTTP clients
- Add timeout, retries, retry_delay_ms, and retry_max_delay_ms options to
client extra config to bound long-running requests and retry failed
attempts with exponential backoff.
- Apply a total request timeout via reqwest .timeout().
- Implement retry with exponential backoff for non-streaming and streaming
chat completions.
- Disable reqwest-eventsource internal auto-reconnect so it does not loop
forever; outer retry logic is now the single owner of retry behavior.
- Document the new options in config.example.yaml.
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions
