Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker部署,转发是不是取消了 #55

Open
G-H-Z opened this issue Mar 28, 2023 · 12 comments
Open

docker部署,转发是不是取消了 #55

G-H-Z opened this issue Mar 28, 2023 · 12 comments

Comments

@G-H-Z
Copy link

G-H-Z commented Mar 28, 2023

无返回

@guaguaguaxia
Copy link
Owner

@iHx-rainbow 你好,可以帮忙看看吗

@G-H-Z
Copy link
Author

G-H-Z commented Mar 29, 2023

@guaguaguaxia 可以提供您的联系方式方便交流吗

@iHx-rainbow
Copy link
Contributor

@G-H-Z 目前我用 docker 部署的服务运行正常,可以提供一下你的 docker run 命令,或者 docker-compose yml 吗?

@G-H-Z
Copy link
Author

G-H-Z commented Mar 29, 2023

@iHx-rainbow 由于docker中的api为国外api无法使用,所以将docker中api函数更换为腾讯云函数

@G-H-Z
Copy link
Author

G-H-Z commented Mar 29, 2023

@iHx-rainbow 请问您是否有更好的方法呢,使用国内服务器的话

@G-H-Z
Copy link
Author

G-H-Z commented Mar 29, 2023

@iHx-rainbow 使用docker全局变量代理国外也无法正常使用该项目

@iHx-rainbow
Copy link
Contributor

那估计是访问 api 的问题了,因为我是用 DO 的云服务器,没墙就可以直接用

使用docker全局变量代理国外也无法正常使用该项目

这个我没试过,也有可能是代理的问题,我最近墙内挂代理经常被 access denied

@G-H-Z
Copy link
Author

G-H-Z commented Mar 29, 2023

@iHx-rainbow 可以提供您的方式联系吗

@G-H-Z
Copy link
Author

G-H-Z commented Mar 29, 2023

@iHx-rainbow 收到了,该方式你可以删除了

@guaguaguaxia
Copy link
Owner

@iHx-rainbow @G-H-Z 如果你们私下讨论出了有价值的信息,希望能够评论在此处,方便其它人

@G-H-Z
Copy link
Author

G-H-Z commented Mar 29, 2023

提示:经排查使用该项目openai-scf-goproxy进行腾讯云云函数转发api接口会使openai输出结果一次性完整输出,但一次性完整输出会导致输出时间过久,建议腾讯云函数设置超时时间大于60s

@iHx-rainbow
Copy link
Contributor

@guaguaguaxia 排查过了 docker 部署是没问题的,可以 close 了

原因还是在于使用了腾讯云函数,导致 Stream 流的形式输出问题造成的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants