Giter VIP home page Giter VIP logo

chatgpt-service's People

Contributors

cookeem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

chatgpt-service's Issues

cpu100%运行

回答聊天结束前(回答过程中),有概率出现服务器cpu突然100%运行,貌似进入了死循环,只能重启服务器。
以下是部分使用top命令查看的
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
858 1000 20 0 720736 13472 7680 R 99.3 2.7 7:48.41 chatgpt-service
464 root 20 0 1319484 26356 18044 S 0.3 5.3 0:15.95 x-ui
1902 root 20 0 0 0 0 I 0.3 0.0 0:00.50 kworker/0:1-events_power_efficient
1917 root 20 0 11256 3704 3156 R 0.3 0.7 0:00.31 top
1 root 20 0 21932 10068 7904 S 0.0 2.0 0:02.39 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd

执行chatgpt-service后,输入问题无响应,100%出现。

安装你的如下步骤执行后,不管是使用wscat链接还是外部websocket链接都是可以链接,但是无法发送数据。出现输入问题无响应的情况,而且是100%出现。(测试服务器:美国和新加坡),另外,还需要安装Nginx吗?

go mod tidy
go build
./chatgpt-service
npm install -g wscat
wscat --connect ws://localhost:9000/api/ws/chat

连续提问chatgpt-service不响应

1,服务器部署在海外,用wscat或者chatgpt-stream出现一致的问题。
2,一般提问3-5次之后出现不响应,chatgpt-service 日志没用发现断开的情况,但是没用client发的消息日志。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.