mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +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。由并行改为串行以尽量降低频率。必要时可可能还要等待。
|
// 老用户初次更新该功能,这里频繁请求可能会429。由并行改为串行以尽量降低频率。必要时可可能还要等待。
|
||||||
let item = conversations.items[i]
|
let item = conversations.items[i]
|
||||||
let cachedConversationLastMessage = await redis.get(`CHATGPT:CONVERSATION_LAST_MESSAGE_PROMPT:${item.id}`)
|
let cachedConversationLastMessage = await redis.get(`CHATGPT:CONVERSATION_LAST_MESSAGE_PROMPT:${item.id}`)
|
||||||
if (!cachedConversationLastMessage) {
|
if (cachedConversationLastMessage) {
|
||||||
map[item.id] = cachedConversationLastMessage
|
map[item.id] = cachedConversationLastMessage
|
||||||
} else {
|
} else {
|
||||||
// 缓存中没有,就去查官方api
|
// 缓存中没有,就去查官方api
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue