-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(fix) health check - allow setting
health_check_model
(#7752)
* use _update_litellm_params_for_health_check * fix Wildcard Routes * test_update_litellm_params_for_health_check * test_perform_health_check_with_health_check_model * fix doc string * huggingface/mistralai/Mistral-7B-Instruct-v0.3
- Loading branch information
1 parent
9daa6fb
commit d510f1d
Showing
4 changed files
with
127 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
model_list: | ||
- model_name: "gpt-4" | ||
- model_name: openai/* | ||
litellm_params: | ||
model: openai/fake | ||
api_key: fake-key | ||
api_base: https://exampleopenaiendpoint-production.up.railway.app/ | ||
|
||
general_settings: | ||
alerting: ["slack"] | ||
alert_to_webhook_url: { | ||
"budget_alerts": ["https://hooks.slack.com/services/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"] | ||
} | ||
alerting_args: | ||
budget_alert_ttl: 10 | ||
log_to_console: true | ||
model: openai/* | ||
api_key: os.environ/OPENAI_API_KEY | ||
model_info: | ||
health_check_model: openai/gpt-4o-mini | ||
- model_name: anthropic/* | ||
litellm_params: | ||
model: anthropic/* | ||
api_key: os.environ/ANTHROPIC_API_KEY | ||
model_info: | ||
health_check_model: anthropic/claude-3-5-sonnet-20240620 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters