Open williamlorder opened 1 year ago
这个我个人没有这个需求,所以不太熟悉。有没有github友做一个PR?
On Sat, Apr 1, 2023 at 4:54 AM williamlorder @.***> wrote:
设置API_URL代理功能。以让在国内可以直接使用openai的API
— Reply to this email directly, view it on GitHub https://github.com/jesselau76/ebook-GPT-translator/issues/20, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJUSHGB4A3QBHXD5R46CGSDW6344TANCNFSM6AAAAAAWO2VCKE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi,你可以参考一下这个库https://github.com/Ice-Hazymoon/openai-scf-proxy 。 其实就是把官方的API网址https://api.openai.com/ 设置为可替换的!
看了一下,对我来说比较麻烦。国内的云服务器没有经验。
这个主git不打算增加这部分功能。看有没有fork会不会增加这部分功能。
On Sat, Apr 1, 2023 at 10:51 AM williamlorder @.***> wrote:
Hi,你可以参考一下这个库 https://github.com/Ice-Hazymoon/openai-scf-proxy。其实就是把官方的API网址https://api.openai.com/设置为可替换的!
— Reply to this email directly, view it on GitHub https://github.com/jesselau76/ebook-GPT-translator/issues/20#issuecomment-1492648762, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJUSHGCRHGH4RX7JTY27TR3W65GWZANCNFSM6AAAAAAWO2VCKE . You are receiving this because you commented.Message ID: @.***>
试着实现了下,我这里跑了几次是可以的
设置API_URL代理功能。以让在国内可以直接使用openai的API