hf-hub icon indicating copy to clipboard operation
hf-hub copied to clipboard

Add proxy-from-env feature to ureq crate

Open liutaon opened this issue 1 year ago • 1 comments

The asynchronous version of hf-hub automatically enables proxy support based on environment variables by default, whereas the synchronous version does not. To ensure consistency between the two, it is necessary for the synchronous version to also adopt this behavior.

liutaon avatar Feb 04 '24 10:02 liutaon

Currently, the only way to implement this fix is to make code changes in the local repository before the maintainer merges this PR

hf-hub = { path = "/path/to/hf-hub", features = ["tokio"] }

GitNiko avatar Feb 23 '24 03:02 GitNiko

This is done on main.

Narsil avatar Dec 25 '24 23:12 Narsil