fatwang2 / coze2openai

Turn Coze API into OpenAI
https://coze2openai.vercel.app
MIT License
559 stars 137 forks source link

可否在变量里面 添加一个 哪个bot走coze.cn,哪些BOTs走coze.com? #8

Open jarlin8 opened 4 months ago

jarlin8 commented 4 months ago

现有规则如果要使用coze.cn与coze.com,就需要搭两个服务,不知理解是否正确?

fatwang2 commented 4 months ago

其实不太能混用,最终你的key只能有一个,而 coze.cn 和 coze.com 的 key 不一样,如果两个都想用,目前确实只能部署两个服务

1487879421888 commented 4 months ago

大佬,可否尽快支持docker部署

fatwang2 commented 4 months ago

你试过 vercel 部署不?

Denghui Xue @.***>于2024年5月25日 周六10:34写道:

大佬,可否尽快支持docker部署

— Reply to this email directly, view it on GitHub https://github.com/fatwang2/coze2openai/issues/8#issuecomment-2130689133, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSUPOSY6N52X3I3K3CDZD72DZAVCNFSM6AAAAABIGZMMK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZQGY4DSMJTGM . You are receiving this because you commented.Message ID: @.***>

1487879421888 commented 4 months ago

vercel有十秒的限流,超过十秒,直接报错了

fatwang2 commented 4 months ago

1、我记得这个限制放开了。还没测试过。2、你经常会有超过 10s 的吗?

Denghui Xue @.***>于2024年5月25日 周六13:49写道:

vercel有十秒的限流,超过十秒,直接报错了

— Reply to this email directly, view it on GitHub https://github.com/fatwang2/coze2openai/issues/8#issuecomment-2130818727, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSRE2QGA3E55QCM4SZLZEAQ5JAVCNFSM6AAAAABIGZMMK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZQHAYTQNZSG4 . You are receiving this because you commented.Message ID: @.***>

1487879421888 commented 4 months ago

是的,大佬,因为它经常超过10s,就直接提示超时了,希望大佬尽快可以支持docker部署

flyinsz commented 4 months ago

是的,大佬,因为它经常超过10s,就直接提示超时了,希望大佬尽快可以支持docker部署

同问同问

forose commented 4 months ago

大佬,可否尽快支持docker部署

加过一个docker部署的 https://github.com/forose/coze2openai

forose commented 4 months ago

是的,大佬,因为它经常超过10s,就直接提示超时了,希望大佬尽快可以支持docker部署

我加过一个docker部署的 可以参考一下https://github.com/forose/coze2openai

fatwang2 commented 4 months ago

你可以提 PR 呀

forose @.***>于2024年6月4日 周二16:46写道:

是的,大佬,因为它经常超过10s,就直接提示超时了,希望大佬尽快可以支持docker部署

我加过一个docker部署的 可以参考一下https://github.com/forose/coze2openai

— Reply to this email directly, view it on GitHub https://github.com/fatwang2/coze2openai/issues/8#issuecomment-2146957963, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSVAKLNZP2XFMBBLS6TZFV5HDAVCNFSM6AAAAABIGZMMK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBWHE2TOOJWGM . You are receiving this because you commented.Message ID: @.***>

forose commented 3 months ago

现有规则如果要使用coze.cn与coze.com,就需要搭两个服务,不知理解是否正确?

com和cn不是分别限制区域了吗

fatwang2 commented 3 months ago

你看下配置文件,两个都支持

forose @.***>于2024年6月7日 周五21:10写道:

现有规则如果要使用coze.cn与coze.com,就需要搭两个服务,不知理解是否正确?

com和cn不是分别限制区域了吗

— Reply to this email directly, view it on GitHub https://github.com/fatwang2/coze2openai/issues/8#issuecomment-2154806862, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSRSGFTPWQBURTBCWJ3ZGGWN7AVCNFSM6AAAAABIGZMMK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJUHAYDMOBWGI . You are receiving this because you commented.Message ID: @.***>