mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 词云bug
This commit is contained in:
parent
0d8ef840d4
commit
a45be2e211
1 changed files with 4 additions and 1 deletions
|
|
@ -59,7 +59,10 @@ export class Tokenizer {
|
||||||
}
|
}
|
||||||
chats.push(...chatHistory)
|
chats.push(...chatHistory)
|
||||||
chats.sort(compareByTime)
|
chats.sort(compareByTime)
|
||||||
seq = chatHistory[0].seq
|
seq = chatHistory?.[0]?.seq
|
||||||
|
if (!seq) {
|
||||||
|
break
|
||||||
|
}
|
||||||
if (Config.debug) {
|
if (Config.debug) {
|
||||||
logger.info(`拉取到${chatHistory.length}条聊天记录,当前已累计获取${chats.length}条聊天记录,继续拉...`)
|
logger.info(`拉取到${chatHistory.length}条聊天记录,当前已累计获取${chats.length}条聊天记录,继续拉...`)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue