use Client;
use ;
use Duration;
/// Build an HTTP client with a 30-minute request timeout.
///
/// Local models (MLX, ollama) can take several minutes for large prompts
/// (e.g., 26B model processing 7K tokens, or pruned models generating
/// 5k+ token files at 9 tok/s). The generous timeout prevents premature
/// connection drops while still recovering from truly stuck requests.
pub