mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-14 09:03:16 +00:00
chore(ui): regenerate OpenAPI snapshot and UI types for scan_tool_descriptions_as_text
This commit is contained in:
parent
b2b1bbae60
commit
d34d154dc6
2 changed files with 34 additions and 0 deletions
|
|
@ -16676,6 +16676,18 @@
|
|||
"description": "When True, this pre_call guardrail always evaluates the request as it was before any guardrail in this hook ran, regardless of its position in the guardrails list -- so the YAML order of guardrails can never change whether this one blocks. Use only for block-only guardrails: any data this guardrail returns is discarded, same contract as run_in_parallel, since an earlier guardrail's masking must not be undone by this one.",
|
||||
"title": "Scan Raw Request"
|
||||
},
|
||||
"scan_tool_descriptions_as_text": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "For text-only guardrails (panw_prisma_airs, presidio). Guardrails whose APIs accept the request's tools[] already scan it natively. When True, a pre_call guardrail also scans every description string in tools[] (tool and parameter descriptions) as text, blocking or masking them like message text. Costs one extra guardrail call per tool that has a description.",
|
||||
"title": "Scan Tool Descriptions As Text"
|
||||
},
|
||||
"sensitive_data_route_to_model": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
@ -19710,6 +19722,18 @@
|
|||
"description": "When True, this pre_call guardrail always evaluates the request as it was before any guardrail in this hook ran, regardless of its position in the guardrails list -- so the YAML order of guardrails can never change whether this one blocks. Use only for block-only guardrails: any data this guardrail returns is discarded, same contract as run_in_parallel, since an earlier guardrail's masking must not be undone by this one.",
|
||||
"title": "Scan Raw Request"
|
||||
},
|
||||
"scan_tool_descriptions_as_text": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "For text-only guardrails (panw_prisma_airs, presidio). Guardrails whose APIs accept the request's tools[] already scan it natively. When True, a pre_call guardrail also scans every description string in tools[] (tool and parameter descriptions) as text, blocking or masking them like message text. Costs one extra guardrail call per tool that has a description.",
|
||||
"title": "Scan Tool Descriptions As Text"
|
||||
},
|
||||
"send_user_api_key_alias": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
|
|||
10
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
10
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -28128,6 +28128,11 @@ export interface components {
|
|||
* @description When True, this pre_call guardrail always evaluates the request as it was before any guardrail in this hook ran, regardless of its position in the guardrails list -- so the YAML order of guardrails can never change whether this one blocks. Use only for block-only guardrails: any data this guardrail returns is discarded, same contract as run_in_parallel, since an earlier guardrail's masking must not be undone by this one.
|
||||
*/
|
||||
scan_raw_request?: boolean | null;
|
||||
/**
|
||||
* Scan Tool Descriptions As Text
|
||||
* @description For text-only guardrails (panw_prisma_airs, presidio). Guardrails whose APIs accept the request's tools[] already scan it natively. When True, a pre_call guardrail also scans every description string in tools[] (tool and parameter descriptions) as text, blocking or masking them like message text. Costs one extra guardrail call per tool that has a description.
|
||||
*/
|
||||
scan_tool_descriptions_as_text?: boolean | null;
|
||||
/**
|
||||
* Sensitive Data Route To Model
|
||||
* @description Model to route requests to when sensitive data is detected and on_sensitive_data='route'. This is typically an on-premise model for data privacy. The routing decision persists for the entire session.
|
||||
|
|
@ -38360,6 +38365,11 @@ export interface components {
|
|||
* @description When True, this pre_call guardrail always evaluates the request as it was before any guardrail in this hook ran, regardless of its position in the guardrails list -- so the YAML order of guardrails can never change whether this one blocks. Use only for block-only guardrails: any data this guardrail returns is discarded, same contract as run_in_parallel, since an earlier guardrail's masking must not be undone by this one.
|
||||
*/
|
||||
scan_raw_request?: boolean | null;
|
||||
/**
|
||||
* Scan Tool Descriptions As Text
|
||||
* @description For text-only guardrails (panw_prisma_airs, presidio). Guardrails whose APIs accept the request's tools[] already scan it natively. When True, a pre_call guardrail also scans every description string in tools[] (tool and parameter descriptions) as text, blocking or masking them like message text. Costs one extra guardrail call per tool that has a description.
|
||||
*/
|
||||
scan_tool_descriptions_as_text?: boolean | null;
|
||||
/**
|
||||
* Send User Api Key Alias
|
||||
* @description Whether to send user_API_key_alias in headers
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue