共计 700 个字符,预计需要花费 2 分钟才能阅读完成。
本帖最后由 虎谷 于 2024-4-3 13:48 编辑
两条命令免费使用 chatgpt3.5 turble,但是 gpt_next_web 不通,为啥啊?
docker run -d –name free_gpt –network mynetwork –network-alias free_gpt –restart=always -p 3040:3040 ghcr.io/missuo/freegpt35
docker run -d –name gpt_next_web -p 3000:3000 –network mynetwork -e OPENAI_API_KEY=any_string_you_like yidadaa/chatgpt-next-web 复制代码
在宿主机上直接测试是可以使用的:
curl http://172.18.0.2:3040/v1/chat/completions
-H “Content-Type: application/json”
-H “Authorization: Bearer any_string_you_like”
-d ‘{
“model”: “gpt-3.5-turbo”,
“messages”: [
{
“role”: “user”,
“content”: “ 你好啊!”
}
],
“stream”: true
}’ 复制代码
使用 gpt_next_web 后不通:
求大佬看看
仓库来源:
https://github.com/missuo/FreeGPT35
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/tree/main