mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: incorrect redis set
This commit is contained in:
parent
33c87054c7
commit
b8bd3dfec9
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ export class chatgpt extends plugin {
|
|||
utime: ctime,
|
||||
num: 0
|
||||
}
|
||||
await redis.set(`CHATGPT:CONVERSATIONS:${e.sender.user_id}`, JSON.stringify(previousConversation), { EX: CONVERSATION_PRESERVE_TIME })
|
||||
// await redis.set(`CHATGPT:CONVERSATIONS:${e.sender.user_id}`, JSON.stringify(previousConversation), { EX: CONVERSATION_PRESERVE_TIME })
|
||||
} else {
|
||||
previousConversation = JSON.parse(previousConversation)
|
||||
conversation = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue