Update Huggingface API key name to HF_TOKEN and remove base URL prompt

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-04-09 20:38:56 +00:00
parent ffb8bedf1b
commit e5edb74849
2 changed files with 3 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ def test_huggingface_env_vars():
"""Test that Huggingface environment variables are properly configured."""
assert "huggingface" in ENV_VARS
assert any(
detail.get("key_name") == "HUGGINGFACE_API_KEY"
detail.get("key_name") == "HF_TOKEN"
for detail in ENV_VARS["huggingface"]
)