Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRaiser/PaperFlow
/ _resolve_hf_provider
Function
_resolve_hf_provider
skills/embedding/scripts/embed.py:168–173 ·
view source on GitHub ↗
(primary_env_name: str, fallback_env_name: str = "HF_INFERENCE_PROVIDER")
Source
from the content-addressed store, hash-verified
166
"401"
,
167
"unauthorized"
,
168
"invalid api key"
,
169
"incorrect api key"
,
170
"invalid_request_error"
,
171
"authentication"
,
172
"forbidden"
,
173
)
174
)
175
176
Callers
1
__init__
Method · 0.70
Calls
1
get
Method · 0.80
Tested by
no test coverage detected