mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47: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) {
|
if (pm.filter(m => m.author === 'user').length < Config.maxNumUserMessagesInConversation - 1) {
|
||||||
pm.push(m)
|
pm.push(m)
|
||||||
} else {
|
} else {
|
||||||
exceedConversations.push(e)
|
exceedConversations.push(m)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
pm = pm.reverse()
|
pm = pm.reverse()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue