mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
style(ui): format log drawer lookup error changes
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
a01504b270
commit
d5297d734a
2 changed files with 10 additions and 2 deletions
|
|
@ -74,7 +74,11 @@ export function LogViewer({
|
|||
? moment(endDate).endOf("day").utc().format("YYYY-MM-DD HH:mm:ss")
|
||||
: moment().utc().format("YYYY-MM-DD HH:mm:ss");
|
||||
|
||||
const { data: fullLogResponse, isFetching: isFetchingFullLog, isError: isFullLogError } = useQuery({
|
||||
const {
|
||||
data: fullLogResponse,
|
||||
isFetching: isFetchingFullLog,
|
||||
isError: isFullLogError,
|
||||
} = useQuery({
|
||||
queryKey: ["spend-log-by-request", selectedRequestId, startTime, endTime],
|
||||
queryFn: async () => {
|
||||
if (!accessToken || !selectedRequestId) return null;
|
||||
|
|
|
|||
|
|
@ -128,7 +128,11 @@ export function LogDetailsDrawer({
|
|||
const [isSidebarCollapsed, setIsSidebarCollapsed] = useState(false);
|
||||
const [copiedLeftPanelId, setCopiedLeftPanelId] = useState(false);
|
||||
|
||||
const { data: sessionData, isFetching: isFetchingSession, isError: isSessionError } = useQuery({
|
||||
const {
|
||||
data: sessionData,
|
||||
isFetching: isFetchingSession,
|
||||
isError: isSessionError,
|
||||
} = useQuery({
|
||||
queryKey: ["sessionLogs", sessionId],
|
||||
queryFn: async () => {
|
||||
if (!sessionId || !accessToken) return { logs: [] as LogEntry[], total: 0 };
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue