mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: e not defined error
This commit is contained in:
parent
12dc262dfc
commit
7d89849c88
1 changed files with 1 additions and 1 deletions
|
|
@ -264,7 +264,7 @@ export default class SydneyAIClient {
|
|||
if (pm.filter(m => m.author === 'user').length < Config.maxNumUserMessagesInConversation - 1) {
|
||||
pm.push(m)
|
||||
} else {
|
||||
exceedConversations.push(e)
|
||||
exceedConversations.push(m)
|
||||
}
|
||||
})
|
||||
pm = pm.reverse()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue