From bfec81d411ab1d255569b2b277d4e8e1d878ada1 Mon Sep 17 00:00:00 2001 From: tin-berri Date: Tue, 27 Oct 2026 21:53:43 -0400 Subject: [PATCH] fix(ui): keep guardrail wizard navigation within the dialog (#48688) --- ui/litellm-dashboard/AGENTS.md | 2 +- .../(dashboard)/guardrails/_components/add_guardrail_form.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/litellm-dashboard/AGENTS.md b/ui/litellm-dashboard/AGENTS.md index f5576b1228b..3453a144e89 100644 --- a/ui/litellm-dashboard/AGENTS.md +++ b/ui/litellm-dashboard/AGENTS.md @@ -32,7 +32,7 @@ Type tests are `*.test-d.ts` files run by the `types` vitest project (`npm run t -# This is NOT the Next.js you know +## This is NOT the Next.js you know This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices. diff --git a/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/add_guardrail_form.tsx b/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/add_guardrail_form.tsx index b1d5c6d8929..9c5ca575193 100644 --- a/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/add_guardrail_form.tsx +++ b/ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/add_guardrail_form.tsx @@ -1247,7 +1247,7 @@ const AddGuardrailForm: React.FC = ({ visible, onClose, a showCloseButton={false} > -
+
{/* Header */}
Create guardrail