From 18cf9daa01018bfd7f552433e178275bfbc1d03e Mon Sep 17 00:00:00 2001 From: mrinal Date: Thu, 5 Nov 2026 18:15:35 +0000 Subject: [PATCH] chore(guardrails): regenerate schema.d.ts for the scan_tool_descriptions_as_text description and drop an unused import Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- tests/unit/proxy/guardrails/test_guardrail_registry.py | 2 +- ui/litellm-dashboard/src/lib/http/schema.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/proxy/guardrails/test_guardrail_registry.py b/tests/unit/proxy/guardrails/test_guardrail_registry.py index b8b51e15ee0..fb48cbb31c9 100644 --- a/tests/unit/proxy/guardrails/test_guardrail_registry.py +++ b/tests/unit/proxy/guardrails/test_guardrail_registry.py @@ -1,7 +1,7 @@ import json from collections.abc import Iterable, Iterator, Mapping from typing import ClassVar, Final -from unittest.mock import AsyncMock, MagicMock, patch +from unittest.mock import AsyncMock, MagicMock import pytest from pydantic import ValidationError diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.ts index 61700e92c9d..e21274adc5b 100644 --- a/ui/litellm-dashboard/src/lib/http/schema.d.ts +++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts @@ -27673,7 +27673,7 @@ export interface components { scan_raw_request?: boolean | null; /** * Scan Tool Descriptions As Text - * @description When True, a pre_call panw_prisma_airs or presidio guardrail also scans the descriptions inside the request's tools[] definitions, and can block the request or mask those descriptions. Off by default. Guardrails that already send tools[] to their vendor don't need this and reject it. + * @description panw_prisma_airs and presidio only. When True, the guardrail also scans the descriptions inside the request's tools[] definitions, and can block the request or mask those descriptions. Off by default. Other guardrails ignore it; the ones that already send tools[] to their vendor don't need it. */ scan_tool_descriptions_as_text?: boolean | null; /** @@ -37798,7 +37798,7 @@ export interface components { scan_raw_request?: boolean | null; /** * Scan Tool Descriptions As Text - * @description When True, a pre_call panw_prisma_airs or presidio guardrail also scans the descriptions inside the request's tools[] definitions, and can block the request or mask those descriptions. Off by default. Guardrails that already send tools[] to their vendor don't need this and reject it. + * @description panw_prisma_airs and presidio only. When True, the guardrail also scans the descriptions inside the request's tools[] definitions, and can block the request or mask those descriptions. Off by default. Other guardrails ignore it; the ones that already send tools[] to their vendor don't need it. */ scan_tool_descriptions_as_text?: boolean | null; /**