本地模型,配置完后报错The custom model provider has returned empty content. (HTTP Status: 502) 解决方案

如果本地部署模型的时候,出现 502 错误,请把网址修改成 localhost。
例如:
网址是 http://0.0.0.0:18081/v1 或者其他,出现 The custom model provider has returned empty content. (HTTP Status: 502) 报错。

修改成 http://localhost:18081/v1 之后恢复正常。

3 个赞