diff --git a/ui/litellm-dashboard/src/app/(dashboard)/layout.tsx b/ui/litellm-dashboard/src/app/(dashboard)/layout.tsx
index b9b7b00956c..9a94e225932 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/layout.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/layout.tsx
@@ -17,6 +17,7 @@ import {
createDeploymentHealthHandle,
DeploymentHealthBanner,
DeploymentHealthIcon,
+ DeploymentHealthLink,
} from "@/components/DeploymentHealth/DeploymentHealth";
import { DeploymentHealthPanel } from "@/components/DeploymentHealth/DeploymentHealthPanel";
import { UserBanner } from "@/components/UserBanner";
@@ -151,6 +152,7 @@ function DashboardShell({ children }: { children: React.ReactNode }) {
accessToken={accessToken}
isPublicPage={false}
deploymentHealth={
}
+ deploymentHealthLink={
}
/>
@@ -203,6 +205,7 @@ function DashboardShell({ children }: { children: React.ReactNode }) {
}
deploymentHealth={
}
+ deploymentHealthLink={
}
/>
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/UsagePageView.test.tsx b/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/UsagePageView.test.tsx
index f7ffd6d52cf..18ebee16745 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/UsagePageView.test.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/UsagePageView.test.tsx
@@ -248,8 +248,7 @@ vi.mock("@/components/EntityUsageExport", () => ({
}));
vi.mock("@/components/liteadmin/LiteAdmin", () => ({
- AriaUsageTrigger: () =>
,
- AriaUsageComposer: () =>
,
+ AriaUsageTrigger: () =>
Ask Aria,
}));
vi.mock("@/app/(dashboard)/hooks/agents/useAgents", () => ({
@@ -1451,19 +1450,19 @@ describe("UsagePage", () => {
});
describe("Aria Agent", () => {
- it("should render the shared Aria prompt and entry point in global view", async () => {
+ it("offers a link to Aria without a second composer in global view", async () => {
renderWithProviders(
);
await waitFor(() => {
expect(mockUserDailyActivityAggregatedCall).toHaveBeenCalled();
});
- expect(screen.getByRole("button", { name: "Open Aria Agent" })).toBeInTheDocument();
- expect(screen.getByRole("region", { name: "Ask Aria Agent" })).toBeVisible();
+ expect(screen.getByRole("link", { name: "Ask Aria" })).toBeInTheDocument();
+ expect(screen.queryByRole("region", { name: "Ask Aria Agent" })).not.toBeInTheDocument();
expect(screen.queryByText("Ask AI")).not.toBeInTheDocument();
});
- it("should keep the shared Aria prompt available in entity usage views", async () => {
+ it("does not embed a second Aria composer in entity usage views", async () => {
renderWithProviders(
);
await waitFor(() => {
@@ -1475,8 +1474,8 @@ describe("UsagePage", () => {
});
expect(await screen.findByText("Entity Usage")).toBeInTheDocument();
- expect(screen.getAllByRole("region", { name: "Ask Aria Agent" })).toHaveLength(1);
- expect(screen.getByRole("region", { name: "Ask Aria Agent" })).toBeVisible();
+ expect(screen.queryByPlaceholderText(/Ask Aria/)).not.toBeInTheDocument();
+ expect(screen.queryByRole("region", { name: "Ask Aria Agent" })).not.toBeInTheDocument();
});
});
diff --git a/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/UsagePageView.tsx b/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/UsagePageView.tsx
index 7c891754195..78159778d87 100644
--- a/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/UsagePageView.tsx
+++ b/ui/litellm-dashboard/src/app/(dashboard)/usage/_components/components/UsagePageView.tsx
@@ -71,7 +71,7 @@ import EntityUsage, { EntityList } from "./EntityUsage/EntityUsage";
import ModelViewToggle, { ModelViewType } from "./ModelViewToggle";
import TopKeyView, { type TopKeyItem } from "@/components/UsagePage/components/EntityUsage/TopKeyView";
import { getGlobalTopKeys } from "./EntityUsage/entityUsageAggregations";
-import { AriaUsageComposer, AriaUsageTrigger } from "@/components/liteadmin/LiteAdmin";
+import { AriaUsageTrigger } from "@/components/liteadmin/LiteAdmin";
import { allowedUsageOptions, UsageViewSelect } from "./UsageViewSelect/UsageViewSelect";
import UserRecordLink from "./UserRecordLink";
import {
@@ -489,7 +489,6 @@ const UsagePage: React.FC
= ({ teams, organizations, teamsLoadin
-