mirror of
https://github.com/instructkr/claw-code.git
synced 2026-06-06 14:37:08 +08:00
- Add missing retry_after: None field to ApiError::Api construction in main.rs test. This field was introduced by the Retry-After header support but was not added to the test's error initializer, causing a compile error under CI's strict mode. - Remove duplicate #[must_use] attribute on retry_after() method in error.rs (lines 134+138 both had it; kept the outer one above the doc comment per convention). - Cargo fmt --all run. - Reviewer question "Are defaults preserved?" — answered yes: ApiTimeoutConfig defaults to 30s connect / 300s request / 8 retries. with_retry_policy() is opt-in. No behavior change without explicit configuration.
24 KiB
24 KiB