diff --git a/ui/litellm-dashboard/src/components/chat_ui.tsx b/ui/litellm-dashboard/src/components/chat_ui.tsx index d3c9428297b..f0f2d3b282a 100644 --- a/ui/litellm-dashboard/src/components/chat_ui.tsx +++ b/ui/litellm-dashboard/src/components/chat_ui.tsx @@ -1,5 +1,10 @@ import React, { useState, useEffect } from "react"; -import { Card, Title, Table, TableHead, TableRow, TableCell, TableBody, Grid } from "@tremor/react"; +import { Card, Title, Table, TableHead, TableRow, TableCell, TableBody, Grid, Tab, + TabGroup, + TabList, + TabPanel, + Metric, + TabPanels, } from "@tremor/react"; import { modelInfoCall } from "./networking"; import openai from "openai"; @@ -98,50 +103,66 @@ const ChatUI: React.FC = ({ accessToken, token, userRole, userID })
-
- - -
- - - - - Chat - - - - - {chatHistory.map((message, index) => ( - - {`${message.role}: ${message.content}`} - - ))} - -
-
-
- setInputMessage(e.target.value)} - className="flex-1 p-2 border rounded-md mr-2" - placeholder="Type your message..." - /> - -
-
+ + + Chat + Proxy Usage + + + + +
+ + +
+ + + + + Chat + + + + + {chatHistory.map((message, index) => ( + + {`${message.role}: ${message.content}`} + + ))} + +
+
+
+ setInputMessage(e.target.value)} + className="flex-1 p-2 border rounded-md mr-2" + placeholder="Type your message..." + /> + +
+
+
+ + + Usage + + +
+