wlhtea / Suno2openai

以openai格式调用suno api,并将cookie保存为数据库,实现cookie池调用 📈已接入newapi、oneapi中转站,适配chat-next-web等前端项目 || Call suno api in openai format, and save the cookie as a database to realize the cookie pool call to access newapi, oneapi relay station, adapting chat-next-web and other front-end projects
MIT License
220 stars 44 forks source link

⭐add github action to docker build and optimize the BUG and reply #24

Closed Yanyutin753 closed 4 months ago

Yanyutin753 commented 4 months ago

⭐add github action to docker build and optimize the reply

以自测通过

只需在setting中,填写如下图变量,即可使用github action打包镜像

image

优化返回消息

LobeChat_随便聊聊_2024-06-04

优化数据库读取数据的一个小BUG

之前的sql读取数据好像不会管可调用次数是否为0了,仍然去使用,导致了出现一直不回复,也没有报错的BUG,现已修复!!!

image

wlhtea commented 4 months ago

Thanks you,昨天没时间看 今天才看到 感谢你的pull

Yanyutin753 commented 4 months ago

没事哈 都是大三苦命打工人🥹

Yanyutin753 commented 4 months ago

之后可以填一下你的dockerhub的信息,然后docker打包只需要发布版本就好了,也可以手动填入版本号打包

wlhtea commented 4 months ago

🆗 我刚刚正在研究这个action

Yanyutin753 commented 4 months ago

好像那个拿cookies的脚本寄了,不过那块我不是很会,搞不定🥹

Yanyutin753 commented 4 months ago

有空大佬看看,我组册了10个号,嘎嘎够,就是不知道后面cookies过期了话,就有点麻烦了

wlhtea commented 4 months ago

我已经更新了 已经push啦

wlhtea commented 4 months ago

后面准备拿完直接填入数据库

wlhtea commented 4 months ago

而且现在的存入数据库逻辑有些问题 建议先清空数据库 然后再添加 不然会count会自增

Yanyutin753 commented 4 months ago

好🥳🥳🥳