fix: e not defined error

This commit is contained in:
ikechan8370 2023-03-31 00:24:43 +08:00
parent 12dc262dfc
commit 7d89849c88

View file

@ -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()