diff --git a/lib/crates/fabro-llm/src/error.rs b/lib/crates/fabro-llm/src/error.rs index 2f29b7b83..e1a54dd65 100644 --- a/lib/crates/fabro-llm/src/error.rs +++ b/lib/crates/fabro-llm/src/error.rs @@ -232,7 +232,7 @@ pub fn error_from_status_code( } 413 => ProviderErrorKind::ContextLength, 429 => ProviderErrorKind::RateLimit, - 500..=504 | 529 => ProviderErrorKind::Server, + 500..=599 => ProviderErrorKind::Server, // For ambiguous status codes (400, 422, etc.), use message-based classification _ => { let lower_msg = detail.message.to_lowercase();