BallonsTranslator icon indicating copy to clipboard operation
BallonsTranslator copied to clipboard

chatgpt使用3rd party url没有效果,所有翻译都留空

Open hyrulelinks opened this issue 1 year ago • 12 comments

使用第三方的chatgpt api域名,跑完run后,没有进行任何翻译,全部留空,在其他软件中验证过可以使用相同的第三方api

hyrulelinks avatar Dec 18 '23 03:12 hyrulelinks

openai版本如果>=1.0.0试试降到0.28.1

dmMaze avatar Dec 18 '23 03:12 dmMaze

截屏2023-12-20 12 30 57 没找到可以调整openai版本的选项

hyrulelinks avatar Dec 20 '23 04:12 hyrulelinks

没找到可以调整openai版本的选项

我是说pip

dmMaze avatar Dec 20 '23 05:12 dmMaze

没找到可以调整openai版本的选项

我是说pip

用pip list查了openai版本号就是0.28.1,是不是要升级到1.0.0?

hyrulelinks avatar Dec 20 '23 05:12 hyrulelinks

没找到可以调整openai版本的选项

我是说pip

用pip list查了openai版本号就是0.28.1,是不是要升级到1.0.0?

那我不知道了,你先试试自己写个脚本调这个第三方api?搞定了后可以来修一下

dmMaze avatar Dec 20 '23 06:12 dmMaze

你写的第三方翻译api网址是不是https://xxxx.xxx/v1/chat/completions 或者https://xxxx.xxx/v1这样的?

填的第三方网址必须是https://xxxx.xxx/v1

allrobot avatar Feb 27 '24 13:02 allrobot

你写的第三方翻译api网址是不是https://xxxx.xxx/v1/chat/completions 或者https://xxxx.xxx/v1这样的?

填的第三方网址必须是https://xxxx.xxx/v1

都不是这个格式,就是一个普通格式的网址http://api.xxx.io

hyrulelinks avatar Feb 28 '24 04:02 hyrulelinks

http://api.xxx.io

你填http://api.xxx.io/v1

allrobot avatar Feb 28 '24 11:02 allrobot

试了这个方法,没有起作用,可能跟api有关

hyrulelinks avatar Mar 04 '24 09:03 hyrulelinks

试了这个方法,没有起作用,可能跟api有关

cmd控制台输出都没发出来,我和dmMaze都不知道你是啥地方出问题

如果是官网账号,api只能一分钟调用三次

关于提高提问的效率,请参考这个https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

allrobot avatar Mar 04 '24 12:03 allrobot

抱歉,是我这边的不是,这段时间精力时间在别的地方,提问题和回复没走心,十分感谢你的帮助,后面有时间再研究这个issue

hyrulelinks avatar Mar 05 '24 07:03 hyrulelinks

I have the same issue over here wondering if you did find a fix for it ? Thanks!

xhat007 avatar Apr 23 '24 16:04 xhat007

http://api.xxx.io

You fill in 'http://api.xxx.io/v1'

After looking at the error message of the operation, this solution is correct, but not all right, you have to fill in 'http://api.xxx.io/v1/', the / after v1 can't be saved

hyrulelinks avatar Jun 19 '24 10:06 hyrulelinks

I have the same issue over here wondering if you did find a fix for it ? Thanks!

https://github.com/dmMaze/BallonsTranslator/issues/341#issuecomment-2178353558

this is solution

hyrulelinks avatar Jun 19 '24 10:06 hyrulelinks