The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(ui): render guardrail optional_params bool defaults in Select
Ryan Crabbef04a5e711386
diff --git a/ui/litellm-dashboard/src/components/guardrails/guardrail_optional_params.tsx b/ui/litellm-dashboard/src/components/guardrails/guardrail_optional_params.tsxindex 2e51980419d..b352360e505 100644--- a/ui/litellm-dashboard/src/components/guardrails/guardrail_optional_params.tsx+++ b/ui/litellm-dashboard/src/components/guardrails/guardrail_optional_params.tsx@@ -192,8 +192,8 @@ const GuardrailOptionalParams: React.FC<GuardrailOptionalParamsProps> = ({</Select>) : field.type === "bool" || field.type === "boolean" ? (<Select placeholder={field.description}>- <Select.Option value="true">True</Select.Option>- <Select.Option value="false">False</Select.Option>+ <Select.Option value={true}>True</Select.Option>+ <Select.Option value={false}>False</Select.Option></Select>) : field.type === "number" ? (<NumericalInput step={1} width={400} placeholder={field.description} />