mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
style: black format rerank endpoint after typo fix
The 'occured'->'occurred' edit added one character, pushing the log format string past Black's 88-char line limit. Wrap the .format() call so Black is happy.
This commit is contained in:
parent
c69d2ab482
commit
99691fdd69
1 changed files with 3 additions and 1 deletions
|
|
@ -108,7 +108,9 @@ async def rerank(
|
|||
user_api_key_dict=user_api_key_dict, original_exception=e, request_data=data
|
||||
)
|
||||
verbose_proxy_logger.error(
|
||||
"litellm.proxy.proxy_server.rerank(): Exception occurred - {}".format(str(e))
|
||||
"litellm.proxy.proxy_server.rerank(): Exception occurred - {}".format(
|
||||
str(e)
|
||||
)
|
||||
)
|
||||
if isinstance(e, HTTPException):
|
||||
raise ProxyException(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue