diff --git a/litellm/proxy/_lazy_openapi_snapshot.json b/litellm/proxy/_lazy_openapi_snapshot.json index ded4db6d2aa..d0e3cf79bc5 100644 --- a/litellm/proxy/_lazy_openapi_snapshot.json +++ b/litellm/proxy/_lazy_openapi_snapshot.json @@ -10405,14 +10405,20 @@ "title": "Timeout" }, "unreachable_fallback": { - "default": "fail_closed", - "description": "Behavior when a guardrail endpoint is unreachable due to network errors. Implemented by guardrail='generic_guardrail_api', 'agent_365', 'akto', 'vigil_guard', 'repelloai', 'headroom', 'compresr', and 'typesafe'. 'fail_closed' raises an error (default). 'fail_open' logs a critical error and allows the request to proceed.", - "enum": [ - "fail_closed", - "fail_open" + "anyOf": [ + { + "enum": [ + "fail_closed", + "fail_open" + ], + "type": "string" + }, + { + "type": "null" + } ], - "title": "Unreachable Fallback", - "type": "string" + "description": "Behavior when a guardrail endpoint is unreachable due to network errors. Implemented by guardrail='generic_guardrail_api', 'agent_365', 'akto', 'vigil_guard', 'repelloai', 'headroom', 'compresr', and 'typesafe'. 'fail_closed' raises an error. 'fail_open' logs a critical error and allows the request to proceed. Unset applies the guardrail's own default: 'agent_365' and 'typesafe' fail open, the others fail closed.", + "title": "Unreachable Fallback" }, "violation_message_template": { "anyOf": [ @@ -11378,7 +11384,8 @@ } ], "description": "Agent identity reported to Agent 365 with every tool evaluation. When unset, the caller's key alias is used.", - "title": "Agent Id" + "title": "Agent Id", + "ui_hidden": true }, "akto_account_id": { "anyOf": [ @@ -12961,7 +12968,8 @@ } ], "description": "Application id of the Agent 365 resource the OBO token is minted for. Defaults to the production resource ea9ffc3e-8a23-4a7d-836d-234d7c7565c1; the Test and PreProd environments use a different id. Falls back to the AGENT365_RESOURCE_APP_ID environment variable.", - "title": "Resource App Id" + "title": "Resource App Id", + "ui_hidden": true }, "rules": { "anyOf": [ @@ -13261,14 +13269,20 @@ "title": "Tracker Api Key" }, "unreachable_fallback": { - "default": "fail_closed", - "description": "Behavior when the headroom compression service is unreachable or errors. 'fail_closed' raises an error (default). 'fail_open' logs a critical error and forwards the request uncompressed instead of blocking it.", - "enum": [ - "fail_closed", - "fail_open" + "anyOf": [ + { + "enum": [ + "fail_closed", + "fail_open" + ], + "type": "string" + }, + { + "type": "null" + } ], - "title": "Unreachable Fallback", - "type": "string" + "description": "Behavior when the guardrail endpoint is unreachable. 'fail_closed' blocks, 'fail_open' allows and logs. Unset applies the guardrail's own default: 'agent_365' and 'typesafe' fail open, the others fail closed.", + "title": "Unreachable Fallback" }, "use_v2": { "anyOf": [ diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.ts index b5d515bd1fb..bfef15db01a 100644 --- a/ui/litellm-dashboard/src/lib/http/schema.d.ts +++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts @@ -25570,11 +25570,9 @@ export interface components { timeout?: number | null; /** * Unreachable Fallback - * @description Behavior when a guardrail endpoint is unreachable due to network errors. Implemented by guardrail='generic_guardrail_api', 'agent_365', 'akto', 'vigil_guard', 'repelloai', 'headroom', 'compresr', and 'typesafe'. 'fail_closed' raises an error (default). 'fail_open' logs a critical error and allows the request to proceed. - * @default fail_closed - * @enum {string} + * @description Behavior when a guardrail endpoint is unreachable due to network errors. Implemented by guardrail='generic_guardrail_api', 'agent_365', 'akto', 'vigil_guard', 'repelloai', 'headroom', 'compresr', and 'typesafe'. 'fail_closed' raises an error. 'fail_open' logs a critical error and allows the request to proceed. Unset applies the guardrail's own default: 'agent_365' and 'typesafe' fail open, the others fail closed. */ - unreachable_fallback: "fail_closed" | "fail_open"; + unreachable_fallback?: ("fail_closed" | "fail_open") | null; /** * Violation Message Template * @description Custom message when a guardrail blocks an action. Supports placeholders like {tool_name}, {rule_id}, and {default_message}. @@ -34817,11 +34815,9 @@ export interface components { tracker_api_key?: string | null; /** * Unreachable Fallback - * @description Behavior when the headroom compression service is unreachable or errors. 'fail_closed' raises an error (default). 'fail_open' logs a critical error and forwards the request uncompressed instead of blocking it. - * @default fail_closed - * @enum {string} + * @description Behavior when the guardrail endpoint is unreachable. 'fail_closed' blocks, 'fail_open' allows and logs. Unset applies the guardrail's own default: 'agent_365' and 'typesafe' fail open, the others fail closed. */ - unreachable_fallback: "fail_closed" | "fail_open"; + unreachable_fallback?: ("fail_closed" | "fail_open") | null; /** * Use V2 * @description If True and guardrail='noma', route to the new Noma v2 implementation instead of the legacy implementation.