From fd017744123b7d08fefd30fec9575512c45f88a6 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Wed, 24 Jun 2026 16:12:35 +0530 Subject: [PATCH] fix(lint): remove unused dataclasses.field imports Co-Authored-By: Claude Sonnet 4.6 --- .../bias_hallucination_estimator/data_sources.py | 2 +- .../guardrail_hooks/bias_hallucination_estimator/risk_scorer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/data_sources.py b/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/data_sources.py index 11b2c81e995..eaf00ea793e 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/data_sources.py +++ b/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/data_sources.py @@ -4,7 +4,7 @@ import asyncio import json import re from abc import ABC, abstractmethod -from dataclasses import dataclass, field +from dataclasses import dataclass from importlib.util import find_spec as _find_spec from pathlib import Path from typing import Any, cast diff --git a/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/risk_scorer.py b/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/risk_scorer.py index 981d1907db6..e0d7fdc5c5c 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/risk_scorer.py +++ b/litellm/proxy/guardrails/guardrail_hooks/bias_hallucination_estimator/risk_scorer.py @@ -1,6 +1,6 @@ from __future__ import annotations -from dataclasses import dataclass, field +from dataclasses import dataclass from typing import Literal from litellm.types.proxy.guardrails.guardrail_hooks.bias_hallucination_estimator import (