From a86938a4af4ba5d1774584d72addcf8729dbd535 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Thu, 16 Apr 2026 19:20:41 +0530 Subject: [PATCH] Fix import error --- litellm/proxy/guardrails/guardrail_hooks/qohash/qohash.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/proxy/guardrails/guardrail_hooks/qohash/qohash.py b/litellm/proxy/guardrails/guardrail_hooks/qohash/qohash.py index 7c856b676b7..7de15192d67 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/qohash/qohash.py +++ b/litellm/proxy/guardrails/guardrail_hooks/qohash/qohash.py @@ -4,6 +4,7 @@ Qostodian Nexus (by Qohash) — LiteLLM guardrail integration. import os from typing import TYPE_CHECKING, Literal, Optional, Type +from litellm.integrations.custom_guardrail import log_guardrail_information from litellm.proxy.guardrails.guardrail_hooks.generic_guardrail_api.generic_guardrail_api import ( GenericGuardrailAPI, ) @@ -44,6 +45,7 @@ class QostodianNexus(GenericGuardrailAPI): **kwargs, ) + @log_guardrail_information async def apply_guardrail( self, inputs: GenericGuardrailAPIInputs,