mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
chore(ovalix): regenerate the OpenAPI snapshot and UI schema types
The guardrail config model gained file_checkpoint_id, enable_routing_cache and fail_if_no_application, so the lazy OpenAPI snapshot and the dashboard's schema.d.ts both went stale. Regenerated with the documented commands.
This commit is contained in:
parent
b5ce6464e6
commit
e4a72ef0bc
2 changed files with 51 additions and 0 deletions
|
|
@ -11490,6 +11490,18 @@
|
|||
"description": "If True, will not raise an exception when the guardrail is blocked. Useful for OpenWebUI where exceptions can end the chat flow.",
|
||||
"title": "Disable Exception On Block"
|
||||
},
|
||||
"enable_routing_cache": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Cache discovery-mode routing resolution per api-key alias for 1 hour. Default on.",
|
||||
"title": "Enable Routing Cache"
|
||||
},
|
||||
"end_session_after_n_fails": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
@ -11542,6 +11554,18 @@
|
|||
"description": "Header names to forward from the client request to the guardrail (e.g. x-request-id). Only these headers' values are sent; others may be omitted or sent as [present]. Used by generic_guardrail_api (similar to MCP extra_headers).",
|
||||
"title": "Extra Headers"
|
||||
},
|
||||
"fail_if_no_application": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Fail the call when no application is configured and none is discovered. Default on; set false to let such calls through unguarded instead.",
|
||||
"title": "Fail If No Application"
|
||||
},
|
||||
"fail_on_error": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
@ -11555,6 +11579,18 @@
|
|||
"description": "Whether to fail the request if the guardrail encounters an error. Implemented by guardrail='model_armor', 'generic_guardrail_api' and 'crowdstrike_aidr'. True (default) raises the error. False logs a critical error and lets the request proceed, so only a valid guardrail response can block or modify it.",
|
||||
"title": "Fail On Error"
|
||||
},
|
||||
"file_checkpoint_id": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "File-checkpoint ID for the Ovalix Tracker service (falls back to pre/post).",
|
||||
"title": "File Checkpoint Id"
|
||||
},
|
||||
"grounding_check": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
|
|||
15
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
15
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -30611,6 +30611,11 @@ export interface components {
|
|||
* @default false
|
||||
*/
|
||||
disable_exception_on_block: boolean | null;
|
||||
/**
|
||||
* Enable Routing Cache
|
||||
* @description Cache discovery-mode routing resolution per api-key alias for 1 hour. Default on.
|
||||
*/
|
||||
enable_routing_cache?: boolean | null;
|
||||
/**
|
||||
* End Session After N Fails
|
||||
* @description For /v1/realtime sessions: automatically close the session after this many guardrail violations.
|
||||
|
|
@ -30632,12 +30637,22 @@ export interface components {
|
|||
* @description Header names to forward from the client request to the guardrail (e.g. x-request-id). Only these headers' values are sent; others may be omitted or sent as [present]. Used by generic_guardrail_api (similar to MCP extra_headers).
|
||||
*/
|
||||
extra_headers?: string[] | null;
|
||||
/**
|
||||
* Fail If No Application
|
||||
* @description Fail the call when no application is configured and none is discovered. Default on; set false to let such calls through unguarded instead.
|
||||
*/
|
||||
fail_if_no_application?: boolean | null;
|
||||
/**
|
||||
* Fail On Error
|
||||
* @description Whether to fail the request if the guardrail encounters an error. Implemented by guardrail='model_armor', 'generic_guardrail_api' and 'crowdstrike_aidr'. True (default) raises the error. False logs a critical error and lets the request proceed, so only a valid guardrail response can block or modify it.
|
||||
* @default true
|
||||
*/
|
||||
fail_on_error: boolean | null;
|
||||
/**
|
||||
* File Checkpoint Id
|
||||
* @description File-checkpoint ID for the Ovalix Tracker service (falls back to pre/post).
|
||||
*/
|
||||
file_checkpoint_id?: string | null;
|
||||
/**
|
||||
* Grounding Check
|
||||
* @description Enable grounding verification to ensure output is grounded in provided context.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue