fix(test_async_fn.py): handle hf tgi model not being loaded yet

This commit is contained in:
Krrish Dholakia
2024-02-15 18:38:03 -08:00
parent 74381a2d06
commit 31c8d62ac2
+2
View File
@@ -192,6 +192,8 @@ async def test_hf_completion_tgi():
)
# Add any assertions here to check the response
print(response)
except litellm.APIError as e:
pass
except litellm.Timeout as e:
pass
except Exception as e: