NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug] 刷新后,聊天不带历史记录

Open moondie opened this issue 2 years ago • 3 comments

刷新页面后,聊天界面仍然有历史记录,但聊天发送的messages不会带历史记录。我想既然刷新后界面上仍然有历史记录,那应该能获取到并发送上去吧

moondie avatar Dec 21 '23 12:12 moondie

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] After refreshing, the chat does not have history records

After refreshing the page, the chat interface still has history records, but the messages sent in the chat will not have history records. I think since there is still history on the interface after refreshing, I should be able to get it and send it up.

Issues-translate-bot avatar Dec 21 '23 12:12 Issues-translate-bot

我发现是我手动将maxtokens设置为infinity导致的

moondie avatar Dec 21 '23 13:12 moondie

Bot detected the issue body's language is not English, translate it automatically.


I found that it was caused by manually setting maxtokens to infinity.

Issues-translate-bot avatar Dec 21 '23 13:12 Issues-translate-bot