0ptim / JellyChat

🪼 AI chatbot for the DeFiChain ecosystem.
https://defichainwiki.com/jellychat
MIT License
11 stars 2 forks source link

Timeout on longer generations: Part 1 #47

Closed 0ptim closed 1 year ago

0ptim commented 1 year ago

Because fly.io has a 60-second idle timeout, some questions fail. After 60 seconds, fly.io just returns an HTTP 500 error.

https://community.fly.io/t/60-second-timeout-for-http-server/1243

Solution

Instead of using HTTP Rest, we'll be using a web socket to