forked from phoenix/litellm-mirror
feat(slack_alerting.py): support sending daily reports on deployments
allow admin to easily know slow + failing deployments Closes https://github.com/BerriAI/litellm/issues/3483
This commit is contained in:
parent
863f9c60a2
commit
718f423d7d
7 changed files with 400 additions and 25 deletions
|
@ -5825,7 +5825,7 @@ def get_api_base(model: str, optional_params: dict) -> Optional[str]:
|
|||
|
||||
Parameters:
|
||||
- model: str - the model passed to litellm.completion()
|
||||
- optional_params - the additional params passed to litellm.completion - eg. api_base, api_key, etc. See `LiteLLM_Params` - https://github.com/BerriAI/litellm/blob/f09e6ba98d65e035a79f73bc069145002ceafd36/litellm/router.py#L67
|
||||
- optional_params - the 'litellm_params' in router.completion *OR* additional params passed to litellm.completion - eg. api_base, api_key, etc. See `LiteLLM_Params` - https://github.com/BerriAI/litellm/blob/f09e6ba98d65e035a79f73bc069145002ceafd36/litellm/router.py#L67
|
||||
|
||||
Returns:
|
||||
- string (api_base) or None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue