diff --git a/front/pages/api/v1/w/[wId]/assistant/conversations/[cId]/messages/[mId]/events.ts b/front/pages/api/v1/w/[wId]/assistant/conversations/[cId]/messages/[mId]/events.ts index 732e5cdc1558..02cc4dee89fe 100644 --- a/front/pages/api/v1/w/[wId]/assistant/conversations/[cId]/messages/[mId]/events.ts +++ b/front/pages/api/v1/w/[wId]/assistant/conversations/[cId]/messages/[mId]/events.ts @@ -2,11 +2,9 @@ import type { AgentMessageEventType } from "@dust-tt/client"; import type { WithAPIErrorResponse } from "@dust-tt/types"; import type { NextApiRequest, NextApiResponse } from "next"; -import { - getConversationMessageType, - getConversationWithoutContent, -} from "@app/lib/api/assistant/conversation"; +import { getConversationMessageType } from "@app/lib/api/assistant/conversation"; import { apiErrorForConversation } from "@app/lib/api/assistant/conversation/helper"; +import { getConversationWithoutContent } from "@app/lib/api/assistant/conversation/without_content"; import { getMessagesEvents } from "@app/lib/api/assistant/pubsub"; import { withPublicAPIAuthentication } from "@app/lib/api/auth_wrappers"; import type { Authenticator } from "@app/lib/auth"; diff --git a/front/pages/api/w/[wId]/assistant/conversations/[cId]/index.ts b/front/pages/api/w/[wId]/assistant/conversations/[cId]/index.ts index 703d24a5bb7e..d1442952dc19 100644 --- a/front/pages/api/w/[wId]/assistant/conversations/[cId]/index.ts +++ b/front/pages/api/w/[wId]/assistant/conversations/[cId]/index.ts @@ -9,10 +9,10 @@ import type { NextApiRequest, NextApiResponse } from "next"; import { deleteConversation, - getConversationWithoutContent, updateConversation, } from "@app/lib/api/assistant/conversation"; import { apiErrorForConversation } from "@app/lib/api/assistant/conversation/helper"; +import { getConversationWithoutContent } from "@app/lib/api/assistant/conversation/without_content"; import { withSessionAuthenticationForWorkspace } from "@app/lib/api/auth_wrappers"; import type { Authenticator } from "@app/lib/auth"; import { apiError } from "@app/logger/withlogging"; diff --git a/front/pages/api/w/[wId]/assistant/conversations/[cId]/messages/[mId]/events.ts b/front/pages/api/w/[wId]/assistant/conversations/[cId]/messages/[mId]/events.ts index 540da6184513..0011a075ed05 100644 --- a/front/pages/api/w/[wId]/assistant/conversations/[cId]/messages/[mId]/events.ts +++ b/front/pages/api/w/[wId]/assistant/conversations/[cId]/messages/[mId]/events.ts @@ -1,11 +1,9 @@ import type { WithAPIErrorResponse } from "@dust-tt/types"; import type { NextApiRequest, NextApiResponse } from "next"; -import { - getConversationMessageType, - getConversationWithoutContent, -} from "@app/lib/api/assistant/conversation"; +import { getConversationMessageType } from "@app/lib/api/assistant/conversation"; import { apiErrorForConversation } from "@app/lib/api/assistant/conversation/helper"; +import { getConversationWithoutContent } from "@app/lib/api/assistant/conversation/without_content"; import { getMessagesEvents } from "@app/lib/api/assistant/pubsub"; import { withSessionAuthenticationForWorkspace } from "@app/lib/api/auth_wrappers"; import type { Authenticator } from "@app/lib/auth";