forked from third-party-mirrors/ollama
this fixes a subtle bug with makeRequestWithRetry where an HTTP status error on a retried request will potentially not return the right err
this fixes a subtle bug with makeRequestWithRetry where an HTTP status error on a retried request will potentially not return the right err