diff --git a/packages/aila/src/helpers/chat/generateChatId.ts b/packages/aila/src/helpers/chat/generateChatId.ts index e2e6bd1a1..7b4d9c1f5 100644 --- a/packages/aila/src/helpers/chat/generateChatId.ts +++ b/packages/aila/src/helpers/chat/generateChatId.ts @@ -1,5 +1,5 @@ import { nanoid } from "nanoid"; export function generateChatId() { - return `chat-${nanoid(16)}`; + return `${nanoid(16)}`; } diff --git a/packages/aila/src/helpers/chat/generateMessageId.ts b/packages/aila/src/helpers/chat/generateMessageId.ts index 0e1eaf9db..6f7302850 100644 --- a/packages/aila/src/helpers/chat/generateMessageId.ts +++ b/packages/aila/src/helpers/chat/generateMessageId.ts @@ -1,5 +1,5 @@ import { nanoid } from "nanoid"; export function generateMessageId() { - return `message-${nanoid(16)}`; + return `${nanoid(16)}`; }