Compare commits
No commits in common. "runtime-7eaa4aeb3e3c" and "litellm_internal_staging" have entirely different histories.
runtime-7e
...
litellm_in
@ -31,10 +31,9 @@ class HealthCheckHelpers:
|
||||
custom_llm_provider=custom_llm_provider, n=3
|
||||
)
|
||||
if len(cheapest_models) == 0:
|
||||
return {
|
||||
"status": "failed",
|
||||
"reason": f"Unable to health check wildcard model for provider {custom_llm_provider}. Add a model on your config.yaml or contribute here - https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json"
|
||||
}
|
||||
raise Exception(
|
||||
f"Unable to health check wildcard model for provider {custom_llm_provider}. Add a model on your config.yaml or contribute here - https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json"
|
||||
)
|
||||
if len(cheapest_models) > 1:
|
||||
fallback_models = cheapest_models[
|
||||
1:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user