We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a27b909 commit f9e5e22Copy full SHA for f9e5e22
tests/conftest.py
@@ -58,11 +58,15 @@ def snapshot_download_w_retry(*args, **kwargs):
58
"""
59
with hf_offline_context(True):
60
try:
61
- return snapshot_download(*args, **kwargs)
+ return snapshot_download(
62
+ *args, user_agent={"is_ci": "true", "axolotl": "ci"}, **kwargs
63
+ )
64
except LocalEntryNotFoundError:
65
pass
66
with hf_offline_context(False):
67
68
69
70
71
72
@pytest.fixture(scope="session", autouse=True)
0 commit comments