diff --git a/app/store/chat.ts b/app/store/chat.ts index 87c1a8beb..5625f38c8 100644 --- a/app/store/chat.ts +++ b/app/store/chat.ts @@ -714,6 +714,12 @@ export const useChatStore = createPersistStore( }, onFinish(message, responseRes) { if (responseRes?.status === 200) { + // deal with and tags + if (message.startsWith("")) { + message = message + .slice(message.indexOf("") + 8) + .trim(); + } get().updateTargetSession( session, (session) =>