memos icon indicating copy to clipboard operation
memos copied to clipboard

ASK AI 聊天历史增多的情况下,继续聊天会报错

Open wangbaojie opened this issue 2 years ago • 7 comments

Describe the bug

当使用ask ai 每聊天一次都会传历史的聊天记录过去,这样就会导致token增多。大佬可以考虑做一个清楚按钮,当不需要上文的时候,做一个清除,清除掉前面的聊天信息,可以重新开始聊天。

Steps to reproduce

在ask ai 中多次聊天

Screenshots or additional context

code=500, message=Failed to post chat completion, internal={"code":"context_length_exceeded","message":"This model's maximum context length is 4097 tokens. However, you requested 4247 tokens (2247 in the messages, 2000 in the completion). Please reduce the length of the messages or completion.","param":"messages","type":"invalid_request_error"}

wangbaojie avatar Apr 19 '23 06:04 wangbaojie

Issue is not in English. It has been translated automatically.


Title: When the ASK AI chat history increases, if you continue to chat, an error will be reported

Issues-translate-bot avatar Apr 19 '23 06:04 Issues-translate-bot

您发的邮件我已经收到,您辛苦了!This is an automatic reply, confirming that your e-mail was received.Thank you这是一个自动回复,确认您的电子邮件收到了。

wangbaojie avatar Apr 19 '23 06:04 wangbaojie

这个功能确实需要,不然就要清空浏览器缓存

ewader avatar Apr 20 '23 07:04 ewader

Issue is not in English. It has been translated automatically.


This feature is really needed, otherwise you need to clear the browser cache

Issues-translate-bot avatar Apr 20 '23 07:04 Issues-translate-bot

在不同浏览器历史记录是不能同步的,在新的客户端无法看到其他端的历史记录。 是否考虑新增特性:将单个或多个记录直接保存为一条memo,并添加ai的标签,和/或保存历史记录而建立新的会话。

NoverNobida avatar May 12 '23 09:05 NoverNobida

Issue is not in English. It has been translated automatically.


The history records of different browsers cannot be synchronized, and the history records of other ends cannot be seen on the new client. Whether to consider new features: save single or multiple records directly as a memo, add ai tags, and/or save historical records to create a new session.

Issues-translate-bot avatar May 12 '23 09:05 Issues-translate-bot

您发的邮件我已经收到,您辛苦了!This is an automatic reply, confirming that your e-mail was received.Thank you这是一个自动回复,确认您的电子邮件收到了。

wangbaojie avatar May 12 '23 09:05 wangbaojie

Ask AI has been removed in the recent version.

boojack avatar Sep 17 '23 02:09 boojack