Git Product home page Git Product logo

Comments (2)

KenyonY avatar KenyonY commented on August 16, 2024 1

hi @liqiujiong, 感谢你的反馈,
应该还是nginx配置的问题,我在添加了 (就是你上面配置中的那部分)

proxy_cache off; 
proxy_buffering off; 
chunked_transfer_encoding on; 
tcp_nopush on;  
tcp_nodelay on;  
keepalive_timeout 300;  

配置之后就不会出现几秒钟才返回一次的问题,其中起作用的是 proxy_buffering off;
https://api.openai-forward.com/v1/chat/completions 这里就是这样配置的

from openai-forward.

liqiujiong avatar liqiujiong commented on August 16, 2024

直接使用IP就没有问题

from openai-forward.

Related Issues (20)

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.