diff --git a/src/renderer/src/hooks/agents/useSessions.ts b/src/renderer/src/hooks/agents/useSessions.ts index fe9f171f99..7c1f21e969 100644 --- a/src/renderer/src/hooks/agents/useSessions.ts +++ b/src/renderer/src/hooks/agents/useSessions.ts @@ -1,10 +1,10 @@ -import type { CreateAgentSessionResponse, CreateSessionForm, GetAgentSessionResponse } from "@renderer/types"; -import { formatErrorMessageWithPrefix } from "@renderer/utils/error"; -import { useCallback, useMemo } from "react"; -import { useTranslation } from "react-i18next"; -import useSWRInfinite from "swr/infinite"; +import type { CreateAgentSessionResponse, CreateSessionForm, GetAgentSessionResponse } from '@renderer/types' +import { formatErrorMessageWithPrefix } from '@renderer/utils/error' +import { useCallback, useMemo } from 'react' +import { useTranslation } from 'react-i18next' +import useSWRInfinite from 'swr/infinite' -import { useAgentClient } from "./useAgentClient"; +import { useAgentClient } from './useAgentClient' const PAGE_SIZE = 20