diff --git a/litellm/proxy/guardrails/guardrail_hooks/wingback/wingback.py b/litellm/proxy/guardrails/guardrail_hooks/wingback/wingback.py index d0bf5d32a14..fd6d9555723 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/wingback/wingback.py +++ b/litellm/proxy/guardrails/guardrail_hooks/wingback/wingback.py @@ -34,11 +34,7 @@ class WingbackGuardrail(GenericGuardrailAPI): wingback_app_id: str | None = None, **kwargs, ): - resolved_api_base: Final = ( - api_base - or os.environ.get("WINGBACK_API_BASE") - or DEFAULT_WINGBACK_API_BASE - ) + resolved_api_base: Final = api_base or os.environ.get("WINGBACK_API_BASE") or DEFAULT_WINGBACK_API_BASE resolved_api_key: Final = api_key or os.environ.get("WINGBACK_INTEGRATION_API_KEY") existing_params = kwargs.pop("additional_provider_specific_params", None) or {} diff --git a/litellm/types/proxy/guardrails/guardrail_hooks/wingback.py b/litellm/types/proxy/guardrails/guardrail_hooks/wingback.py index 8d5d1d0c61c..ccd432b059b 100644 --- a/litellm/types/proxy/guardrails/guardrail_hooks/wingback.py +++ b/litellm/types/proxy/guardrails/guardrail_hooks/wingback.py @@ -40,9 +40,7 @@ class WingbackGuardrailConfigModel(GuardrailConfigModel): ) fail_on_error: bool | None = Field( default=True, - description=( - "If False, allow requests when the guardrail returns an error other than an explicit block." - ), + description=("If False, allow requests when the guardrail returns an error other than an explicit block."), ) @staticmethod diff --git a/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_data.test.ts b/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_data.test.ts index 13909e48185..df6a18b6a06 100644 --- a/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_data.test.ts +++ b/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/guardrail_garden_data.test.ts @@ -27,6 +27,7 @@ const EXPECTED_PARTNER_LOGO_FILES: Record = { deepkeep: "deepkeep.svg", repelloai: "repelloai.png", straiker: "straiker.svg", + wingback: "wingback.png", }; describe("guardrail_garden_data logos", () => {