Closed nop4LOL closed 1 month ago
你看下是不是你的apikey过期了,我刚试了一下,功能正常
你看下是不是你的apikey过期了,我刚试了一下,功能正常
还是不正常,不知道怎么回事,另外还有一个bug反馈,我之前强行关闭电脑,再重新启动电脑后,STranslate的所有配置数据都没有了,又恢复成了最开始的配置,这个请一定要修复,我真的醉了!!!!!!!!
2024-05-16 10:41:38.079 [INF] Opened...
2024-05-16 10:41:38.292 [WRN] 加载上次窗口位置()失败,启用默认位置
2024-05-16 12:13:48.364 [ERR] [智谱AI(4e5eea50-f1c7-4d52-881f-6a257d95bc05)] 翻译出错, 请求API: https://open.bigmodel.cn/api/paas/v4/chat/completions, 异常信息: Unauthorized
2024-05-16 12:13:48.404 [ERR] [微软翻译(1f01e507-02ee-4726-af28-821e3db536c1)] 翻译出错, 请求API: https://api.cognitive.microsofttranslator.com/translate, 异常信息: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'STranslate.Model.ResponseBing[]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List
这些是报错日志,你看下
你看,当我强行关机的时候,备份的配置文件全部变成了0
@ZGGSONG 排查出什么了吗,是不是api问题,质谱还是不行
没看出来是啥问题,有没有尝试重新生成key 把现有的智谱AI删掉,新建一个智谱AI的服务后填上新key进行测试
添加了apikey后还是无法翻译,提示 :
翻译出错: Unauthorized