mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
fix(router): restore Fallbacks context in no-fallback log; document update_team mcp_rpm_limit
The log and debug message when no fallback model group is found was missing the Fallbacks list, making it hard to understand why routing failed. Also adds the missing mcp_rpm_limit documentation to update_team to fix the documentation_test_api_docs CI check.
This commit is contained in:
parent
a1c933d17d
commit
c7edad89d4
1 changed files with 12 additions and 10 deletions
|
|
@ -307,16 +307,18 @@ def model_info_is_active_for_environment(model_info: Mapping[str, object] | None
|
|||
|
||||
_PreRoutingStrategyT = TypeVar("_PreRoutingStrategyT")
|
||||
|
||||
_HTTP_FRAMING_HEADERS: frozenset[str] = frozenset({
|
||||
"content-length",
|
||||
"transfer-encoding",
|
||||
"content-encoding",
|
||||
"content-type",
|
||||
"set-cookie",
|
||||
"cookie",
|
||||
"proxy-authenticate",
|
||||
"proxy-authorization",
|
||||
})
|
||||
_HTTP_FRAMING_HEADERS: frozenset[str] = frozenset(
|
||||
{
|
||||
"content-length",
|
||||
"transfer-encoding",
|
||||
"content-encoding",
|
||||
"content-type",
|
||||
"set-cookie",
|
||||
"cookie",
|
||||
"proxy-authenticate",
|
||||
"proxy-authorization",
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
def _strip_http_framing_headers(exc: BaseException) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue