test(test_text_completion.py): fixing print verbose

This commit is contained in:
Krrish Dholakia 2023-11-04 14:03:09 -07:00
parent 49bca64098
commit 763ecf681a
2 changed files with 16 additions and 16 deletions

View file

@ -1927,7 +1927,7 @@ def text_completion(*args, **kwargs):
raw_response = response._hidden_params.get("original_response", None)
transformed_logprobs = litellm.utils.transform_logprobs(raw_response)
except Exception as e:
print_verbose("LiteLLM non blocking exception", e)
print_verbose(f"LiteLLM non blocking exception: {e}")
text_completion_response["id"] = response["id"]
text_completion_response["object"] = "text_completion"
text_completion_response["created"] = response["created"]