From 26948b70a240bdfdf39a9df9ab180e418155b10e Mon Sep 17 00:00:00 2001 From: fullex <0xfullex@gmail.com> Date: Fri, 2 Jan 2026 16:18:11 +0800 Subject: [PATCH] fix(thunk): clarify v2 file naming and comments in messageThunk.v2.ts - Updated comments to clarify that the file is part of the v1 codebase despite its v2 naming, preventing potential confusion for developers. - Removed outdated references to v2 implementations in the documentation to ensure accuracy. --- src/renderer/src/store/thunk/messageThunk.v2.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/store/thunk/messageThunk.v2.ts b/src/renderer/src/store/thunk/messageThunk.v2.ts index 587a9baf68..7d39c6a5ff 100644 --- a/src/renderer/src/store/thunk/messageThunk.v2.ts +++ b/src/renderer/src/store/thunk/messageThunk.v2.ts @@ -14,9 +14,9 @@ * - v2 Refactor PR : https://github.com/CherryHQ/cherry-studio/pull/10162 * -------------------------------------------------------------------------- */ + /** - * V2 implementations of message thunk functions using the unified DbService - * These implementations will be gradually rolled out using feature flags + * 注意:该文件名虽然带着v2,下面注释可能也提到了v2,但该文件和v2 Data Refactor没有任何关系,该文件仍旧属于v1的旧代码,请人类和AI都要产生误判 */ import { loggerService } from '@logger' @@ -35,7 +35,6 @@ const logger = loggerService.withContext('MessageThunkV2') /** * Load messages for a topic using unified DbService - * This is the V2 implementation that will replace the original */ export const loadTopicMessagesThunkV2 = (topicId: string, forceReload: boolean = false) =>