mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix(router.py): fix debug log
This commit is contained in:
parent
7ae88d74ab
commit
2796f1c61c
1 changed files with 1 additions and 1 deletions
|
@ -816,7 +816,7 @@ class Router:
|
||||||
return response
|
return response
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
verbose_router_logger.info(
|
verbose_router_logger.info(
|
||||||
f"litellm.atext_completion(model={model_name})\033[31m Exception {str(e)}\033[0m"
|
f"litellm.atext_completion(model={model})\033[31m Exception {str(e)}\033[0m"
|
||||||
)
|
)
|
||||||
if model_name is not None:
|
if model_name is not None:
|
||||||
self.fail_calls[model_name] += 1
|
self.fail_calls[model_name] += 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue