LorisYounger / VPet

虚拟桌宠模拟器 一个开源的桌宠软件, 可以内置到任何WPF应用程序
Apache License 2.0
4.64k stars 465 forks source link

对话返回错误400依然存在 #98

Closed jhshen95 closed 10 months ago

jhshen95 commented 10 months ago

更新了最新版本,还是遇到同样的错误。 之前issue中聊天记录是最后一次输入后返回出错,也就是把最后那个user的content删掉再输入同样的内容,返回错误:400

Originally posted by @pkusjh in https://github.com/LorisYounger/VPet/issues/81#issuecomment-1688285911

LorisYounger commented 10 months ago

删掉所有content还报错?

jhshen95 commented 10 months ago

不会,删掉所有content没有报错,只有到最后那一步才会报错

LorisYounger commented 10 months ago

聊天记录有吗?

jhshen95 commented 10 months ago

就是之前issue里的记录:https://github.com/LorisYounger/VPet/issues/81#issuecomment-1686356846

Kaki-Liu commented 10 months ago

我用的自己chatgpt api,第一次输入就直接提示400错误,也是8月22日的版本。

Kaki-Liu commented 10 months ago

我用的自己chatgpt api,第一次输入就直接提示400错误,也是8月22日的版本。

talkbox里显示的报错是:API调用失败,请检查设置和网络连接System.Net.WebException: 远程服务器返回错误:(400)错误的请求。在System.Net HttpWebRequest.GetResponse()在ChatGPT.API。Framework.Completions.G(String APIUrl, String APIKey) 在 ChatGPT.API.Framework.ChatGPTClien (String id, String usermessage)在VPet_Simulator.Windows.TalkBoxAPI.OP(String content)

LorisYounger commented 10 months ago

经查证,是聊天历史太长导致的,现在应该已经修好了

Kaki-Liu commented 10 months ago

谢谢!已经可以正常使用了。

在 2023-09-04 23:27:09,"ZouJin" @.***> 写道:

经查证,是聊天历史太长导致的,现在应该已经修好了

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>