mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: remove debug code
This commit is contained in:
parent
d8265ba1d2
commit
1e89fe6a94
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ export async function getConversations (qq = '') {
|
|||
// 老用户初次更新该功能,这里频繁请求可能会429。由并行改为串行以尽量降低频率。必要时可可能还要等待。
|
||||
let item = conversations.items[i]
|
||||
let cachedConversationLastMessage = await redis.get(`CHATGPT:CONVERSATION_LAST_MESSAGE_PROMPT:${item.id}`)
|
||||
if (!cachedConversationLastMessage) {
|
||||
if (cachedConversationLastMessage) {
|
||||
map[item.id] = cachedConversationLastMessage
|
||||
} else {
|
||||
// 缓存中没有,就去查官方api
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue