test: fix test

This commit is contained in:
Krrish Dholakia
2024-05-10 15:49:20 -07:00
parent 500995696a
commit 6a400a6200
+1 -1
View File
@@ -1138,7 +1138,7 @@ def test_get_hf_task_for_model():
model = "roneneldan/TinyStories-3M"
model_type = litellm.llms.huggingface_restapi.get_hf_task_for_model(model)
print(f"model:{model}, model type: {model_type}")
assert model_type == None
assert model_type == "text-generation"
# test_get_hf_task_for_model()