diff --git a/ui/litellm-dashboard/src/app/(dashboard)/memory/_components/AutomaticMemoryEntries.tsx b/ui/litellm-dashboard/src/app/(dashboard)/memory/_components/AutomaticMemoryEntries.tsx index 25fec459d5c..dfe57c348b1 100644 --- a/ui/litellm-dashboard/src/app/(dashboard)/memory/_components/AutomaticMemoryEntries.tsx +++ b/ui/litellm-dashboard/src/app/(dashboard)/memory/_components/AutomaticMemoryEntries.tsx @@ -113,7 +113,7 @@ export function AutomaticMemoryEntries({ }; const accessDescription = status.data?.active ? "Your assistant can save and search memories using your gateway permissions." - : "Automatic memory is off. Your administrator can enable it; saved memories remain available here."; + : "Automatic memory is off for your account. Saved memories remain available here."; const gettingStarted = status.data?.active ? "Use your assistant as usual. Its memories will appear here." : "Your administrator can enable memory. Existing access permissions decide what you can see."; @@ -131,7 +131,7 @@ export function AutomaticMemoryEntries({ {status.isSuccess && ( - {status.data?.active ? "On · Managed by your admin" : "Off · Managed by your admin"} + {status.data?.active ? "On for your account" : "Off for your account"} )} diff --git a/ui/litellm-dashboard/src/app/(dashboard)/memory/page.integration.test.tsx b/ui/litellm-dashboard/src/app/(dashboard)/memory/page.integration.test.tsx index 0825fa3aa12..49caa458c6f 100644 --- a/ui/litellm-dashboard/src/app/(dashboard)/memory/page.integration.test.tsx +++ b/ui/litellm-dashboard/src/app/(dashboard)/memory/page.integration.test.tsx @@ -105,7 +105,7 @@ describe("Memory dashboard", () => { it("shows recent content and attribution while automatic memory is off", async () => { session("internal_user"); renderWithProviders(); - expect(await screen.findByText("Off · Managed by your admin")).toBeVisible(); + expect(await screen.findByText("Off for your account")).toBeVisible(); expect(await screen.findByText("Use port 8123")).toBeVisible(); expect(screen.getByText("Alex Rivera")).toBeVisible(); expect(screen.getByText("Engineering")).toBeVisible(); @@ -128,7 +128,7 @@ describe("Memory dashboard", () => { await waitFor(() => expect(screen.queryByText("Unsaved changes")).not.toBeInTheDocument()); expect(screen.getByRole("link", { name: "Manage team permissions" })).toHaveAttribute("href", "/ui/teams"); await user.click(screen.getByRole("tab", { name: "Memories" })); - expect(await screen.findByText("On · Managed by your admin")).toBeVisible(); + expect(await screen.findByText("On for your account")).toBeVisible(); expect(calls.some(({ path }) => path.includes("policies") || path.includes("preference"))).toBe(false); }); @@ -227,7 +227,7 @@ describe("Memory dashboard", () => { session("internal_user"); const user = userEvent.setup(); renderWithProviders(); - await screen.findByText("Off · Managed by your admin"); + await screen.findByText("Off for your account"); fireEvent.change(screen.getByRole("textbox", { name: "Search memories" }), { target: { value: "demo" } }); await user.click(screen.getByLabelText("Team")); await user.click(await screen.findByRole("option", { name: "Engineering" })); @@ -242,7 +242,7 @@ describe("Memory dashboard", () => { session("proxy_admin"); const user = userEvent.setup(); renderWithProviders(); - await screen.findByText("Off · Managed by your admin"); + await screen.findByText("Off for your account"); await user.click(screen.getByRole("combobox", { name: "Contributor" })); await user.click(await screen.findByRole("option", { name: "alex@example.test" })); await waitFor(() => expect(calls.some(({ params }) => params.includes("user_id=u1"))).toBe(true));