tool · inferred from evidence
whoami
A command or function used to verify the active Hugging Face token.
- Misleading 401 Unauthorized from smolagents despite valid Hugging Face authentication
Following the official smolagents tutorial, repeated `401 Unauthorized` errors suggested the Hugging Face credentials were invalid. Yet authentication and inference worked fine through `huggingface_hub` directly, and the exact same smolagen