Code Monkey home page Code Monkey logo

Comments (5)

cogentapps avatar cogentapps commented on July 19, 2024

If you're sure you set the API key correctly, it's probably just OpenAI's servers being overloaded. I noticed the completion API started to return a higher rate of errors a few hours ago, usually with an HTTP response that says "this model is overloaded, try again". See if clicking Regenerate fixes it. I'll add automatic retry logic soon which should help.

from chat-with-gpt.

jsanchezl12 avatar jsanchezl12 commented on July 19, 2024

Thanks 👍

I test it in the page but is not working, maybe we can't access anymore. 😓 Link

image

from chat-with-gpt.

johnvesalius avatar johnvesalius commented on July 19, 2024

I'm seeing the same. I can connect with the same API key using curl without issues, but the web app fails with a "401 Unauthorized". The API key is entered correctly. Not sure how to troubleshoot further.

from chat-with-gpt.

cogentapps avatar cogentapps commented on July 19, 2024

So, the 401 unauthorized error (as seen in the image above) is not related. The chatapi/sync endpoint is for storing and syncing the message you submitted, but only works when you are signed in. (It should only run when signed in, but that logic isn’t implemented yet, so there’s an error.)

In the network debugger you can look for a request to the OpenAI chat completion endpoint right when you submit your message. That’s the important one. For me, it’s been failing off and on over the last few days, usually with a 429 Too Many Requests error and a message that says the model is overloaded. Since it’s an OpenAI API error, there’s not much that can be done in the app, except resubmitting the request.

I saw several threads about this issue on the OpenAI Discord - I imagine they’re having to scale up server capacity to meet demand for GPT-4 and these are just growing pains.

from chat-with-gpt.

johnvesalius avatar johnvesalius commented on July 19, 2024

Makes sense, thanks!

from chat-with-gpt.

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.