Download src/shared/constants/providersDisplay.js from heyeyydss/api9nin: direct link, hf CLI and curl.
- Browser
- Download file 690 Bytes
-
https://huggingface.co/spaces/heyeyydss/api9nin/resolve/main/src/shared/constants/providersDisplay.js
- Command line
-
hf download hf://spaces/heyeyydss/api9nin/src/shared/constants/providersDisplay.js
-
curl -L -o providersDisplay.js https://huggingface.co/spaces/heyeyydss/api9nin/resolve/main/src/shared/constants/providersDisplay.js
690 Bytes
| // UI display config — all providers derive from registry.display. | |
| import REGISTRY from "open-sse/providers/registry/index.js"; | |
| export const RISK_NOTICE = "⚠️ Risk Notice: This provider uses a subscription/OAuth session not officially licensed for proxy/router use. Account may be restricted or banned. Use at your own risk."; | |
| // Resolve "RISK_NOTICE" token → real notice text (registry stores token to avoid import cycle) | |
| const resolveDisplay = (d) => | |
| d.deprecationNotice === "RISK_NOTICE" ? { ...d, deprecationNotice: RISK_NOTICE } : d; | |
| export const PROVIDER_DISPLAY = Object.fromEntries( | |
| REGISTRY.filter((r) => r.display).map((r) => [r.id, resolveDisplay(r.display)]), | |
| ); | |