mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
fix(huggingface_restapi.py): fix huggingface response format
This commit is contained in:
parent
a534928337
commit
6892fd8b51
4 changed files with 3 additions and 3 deletions
|
@ -159,7 +159,7 @@ def test_completion_gpt4_vision():
|
|||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
test_completion_gpt4_vision()
|
||||
# test_completion_gpt4_vision()
|
||||
|
||||
def test_completion_perplexity_api():
|
||||
try:
|
||||
|
@ -283,7 +283,7 @@ def hf_test_completion_tgi():
|
|||
print(response)
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
# hf_test_completion_tgi()
|
||||
hf_test_completion_tgi()
|
||||
|
||||
def hf_test_completion_tgi_stream():
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue