mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-13 08:52:02 +00:00
fix(alerts): verify signal links and inherit backend routing
This commit is contained in:
commit
efada9298f
2 changed files with 3 additions and 3 deletions
|
|
@ -110,7 +110,7 @@ BACKEND_PATH_PREFIXES: tuple[str, ...] = (
|
|||
"/v1/rust_control_plane/",
|
||||
# Alerting / email / IP allowlist
|
||||
"/alerting/",
|
||||
"/issues/",
|
||||
"/alerts/",
|
||||
"/email/",
|
||||
"/add/allowed_ip",
|
||||
"/delete/allowed_ip",
|
||||
|
|
@ -154,7 +154,7 @@ BACKEND_EXACT_PATHS: frozenset[str] = frozenset(
|
|||
{
|
||||
"/",
|
||||
"/routes",
|
||||
"/issues",
|
||||
"/alerts",
|
||||
"/lens",
|
||||
"/openapi.json",
|
||||
"/docs",
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ def test_activity_link_escapes_entity_identity_and_includes_baseline() -> None:
|
|||
assert query["activity_model"] == ["provider/model?foo=bar&other=1"]
|
||||
assert query["activity_from"] == ["2026-10-28"]
|
||||
assert query["activity_to"] == ["2026-11-04"]
|
||||
assert query["alert"] == ["qa-alert"]
|
||||
assert query["signal"] == ["qa-alert"]
|
||||
assert query["detail_tab"] == ["activity"]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue