-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用非直连的KEY,也就是指定--api_base那种,访问时会报错 。 #363
Comments
可能有 bug 我今天看一下,谢谢 |
谢谢您的关注,直连的key一个是容易被封号,一个是每分钟只能3次,所以真的要使用起来,大概率还是需要使用这种转发的key,所以还请解决一下呢。谢谢! |
@iou3344 我这里用 api_base 没有问题。。。 |
那我加上--model chatgptapi python make_book.py --book_name test_books/example.srt --openai_key sk-QKRuxy45Rg78SfND7dugU02JPwhLxtWk2Gg98NdWeAQOy7Kh --model chatgptapi --api_base 'https://openkey.cloud/v1' --language zh-hans |
是我这个环境用不了api_base 吗? |
为什么这样不行 --api_base 'https://openkey.cloud/v1' |
模型 提示 补全 消耗额度 |
python make_book.py --book_name test_books/example.srt --openai_key sk-*** --api_base https://openkey.cloud/v1 --language zh-hans |
因为要避免limit 这么设计的。 |
python make_book.py --book_name test_books/example.srt --openai_key sk-** --api_base 'https://openkey.cloud/v1' --language zh-hans
Connection error.
local variable 'completion' referenced before assignment will sleep 60 seconds
Connection error.
local variable 'completion' referenced before assignment will sleep 60 seconds
Connection error.
local variable 'completion' referenced before assignment will sleep 60 seconds
Get 3 consecutive exceptions
local variable 'completion' referenced before assignment
Something is wrong when translate
you can resume it next time
而使用5$那种账号生成key时,也就是不需要指定--api_base 'https://openkey.cloud/v1'时,则是可以正常工作的。
The text was updated successfully, but these errors were encountered: