使用该公网ip 启服务化Daemon start success! 成功

使用公网ip和端口,curl调用api 命令:
curl -H 'accept: application/json' -H 'Content-Type: application/json' \
-X 'POST' \
-d '{
"model": "openchat",
"messages": [
{
"role":"system",
"content":"你是一个友好的AI助手。"
},
{
"role":"user",
"content":"你好,你是谁"
}
],
"max_tokens": 200,
"temperature": 0.6,
"top_p": 0.6
}' http://ip:port/v1/chat/completions
报错:

使用该公网ip 启服务化Daemon start success! 成功
使用公网ip和端口,curl调用api 命令:
curl -H 'accept: application/json' -H 'Content-Type: application/json' \
-X 'POST' \
-d '{
"model": "openchat",
"messages": [
{
"role":"system",
"content":"你是一个友好的AI助手。"
},
{
"role":"user",
"content":"你好,你是谁"
}
],
"max_tokens": 200,
"temperature": 0.6,
"top_p": 0.6
}' http://ip:port/v1/chat/completions
报错: