MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _looks_like_hf_user_token

Function _looks_like_hf_user_token

skills/embedding/scripts/embed.py:148–149  ·  view source on GitHub ↗
(api_key: Optional[str])

Source from the content-addressed store, hash-verified

146 normalized = str(api_key or "").strip().lower()
147 if not normalized:
148 return True
149 return (
150 "your_nscale" in normalized
151 or normalized.endswith("-here")
152 or "service_token" in normalized

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected