mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-28 17:29:44 +00:00
4.8-alpha fix (#1424)
This commit is contained in:
@@ -57,7 +57,7 @@ export const countGptMessagesTokens = (
|
||||
|
||||
// 检测是否有内存泄漏
|
||||
// addLog.info(`Count token time: ${Date.now() - start}, token: ${data}`);
|
||||
// console.log(Object.keys(global.tiktokenWorker.callbackMap));
|
||||
// console.log(process.memoryUsage());
|
||||
};
|
||||
|
||||
worker.postMessage({
|
||||
|
Reference in New Issue
Block a user