We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我修改了代码取消代理设置,再次运行后主程序提示GPT错误。各位大佬!请问一下还有哪里需要修改啊?(我是使用的第三方中转API KEY)
url='https://api.gptsapi.net/v1/chat/completions' #proxy= proxy
result = asession.post(url, headers=headers, json=prama, timeout=20)
The text was updated successfully, but these errors were encountered:
建议先确认这个三方API的请求头和请求内容格式是否与官方的一致,先单独运行 gpt.py 文件进行测试,看报错内容
Sorry, something went wrong.
大佬人在国外不需要用代理怎么办,或者可以用国外的代理填进去嘛?
留空,或者如果有报错之类的话就删除 gpt.py 的第66行 proxies 参数
gpt.py 的第66行 proxies
No branches or pull requests
我修改了代码取消代理设置,再次运行后主程序提示GPT错误。各位大佬!请问一下还有哪里需要修改啊?(我是使用的第三方中转API KEY)
The text was updated successfully, but these errors were encountered: