Skip to content
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

报错 #61

Closed
zengge99 opened this issue Apr 4, 2024 · 5 comments
Closed

报错 #61

zengge99 opened this issue Apr 4, 2024 · 5 comments

Comments

@zengge99
Copy link

zengge99 commented Apr 4, 2024

root@vm3:~/chatgpt-qq# curl --location 'http://127.0.0.1:8080/v1/chat/completions' --header 'Content-Type: application/json' --data '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "Say this is a test!"}],
"stream": true
}'
{"code":500,"message":"error sending request","param":{},"type":"InitTurnStile_request_error"}

@xiaozhou26
Copy link
Collaborator

ip不支持

@zengge99
Copy link
Author

zengge99 commented Apr 4, 2024

可以支持挂代理吗?

@xiaozhou26 xiaozhou26 reopened this Apr 4, 2024
@xiaozhou26
Copy link
Collaborator

可以支持挂代理吗?

可以环境变量中

PROXY_URL=your_proxy_url

@zengge99
Copy link
Author

zengge99 commented Apr 4, 2024

谢谢

@dqzboy
Copy link

dqzboy commented Apr 4, 2024

可以支持挂代理吗?

可以环境变量中

PROXY_URL=your_proxy_url

在docker compos配置了代理参数,没有生效
IMG_2066

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants