refactor(chat): reorganize helper functions and update imports

This commit is contained in:
2026-07-15 10:59:23 +08:00
parent 2b90f90ab0
commit ed3e800245
20 changed files with 27 additions and 29 deletions
+2 -4
View File
@@ -5,10 +5,8 @@ import { Logger } from "@/utils/logger";
import { Result } from "@/utils/result";
import { todayString } from "@/utils/date";
import {
CHAT_HISTORY_LIMIT,
localMessagesToUi,
} from "./chat-machine.helpers";
import { CHAT_HISTORY_LIMIT } from "./helper/history";
import { localMessagesToUi } from "./helper/message-mappers";
const log = new Logger("StoresChatChatHistorySync");