__init__.py 545 B

1234567891011121314
  1. """Hugging Face provider profile."""
  2. from providers import register_provider
  3. from providers.base import ProviderProfile
  4. huggingface = ProviderProfile(
  5. name="huggingface", aliases=("hf", "hugging-face", "huggingface-hub"), env_vars=("HF_TOKEN",),
  6. display_name="HuggingFace", description="HuggingFace Inference API",
  7. signup_url="https://huggingface.co/settings/tokens",
  8. fallback_models=("Qwen/Qwen3.5-72B-Instruct", "deepseek-ai/DeepSeek-V3.2"),
  9. base_url="https://router.huggingface.co/v1",
  10. )
  11. register_provider(huggingface)