openweb-ui 返回数据慢的问题

我的 openweb-ui 和 new-api 在一个 docker-compose 中,使用 gemini-1.5 模型时,要过好几秒才会开始返回数据,一直使用的模型地址是 https://api.domain.com/v1 ,改为 http://new-api:3000/v1 后,速度提升了不少。有同类问题的可以试试。

1. 使用 https://api.domain.com/v1
9b1ed265f4f4328726e72d9517f82d2

2. 使用 http://new-api:3000/v1
7ea49bfe5c9e7baa7fc48f1f5c24183

我的在两个vps上,搞不了了

弄一个上方便管理,多一个new-api也多不了多少

这个看部署服务器到api服务器的连接速度吧,跟是否使用https没关系呀

应该不是http与https的区别,是使用new-api:3000,用docker 内部网络访问快

主要是open webui那个vps是嫖的玩不了多久,懒得在搞一个new api。我自己那个只有2g内存,不敢跑,一炮就炸

抱抱脸空间配置很高值得拥有,只不过怎么实现openwebui和newapi在同一个空间里呢?

OK,我去玩玩看

如果成功实现了openwebui和newapi在同一个空间里记得发教程哦!