Git Product home page Git Product logo

Comments (10)

agzam avatar agzam commented on May 24, 2024

Oh, it looks like maybe it doesn't handle the insufficient_quota error.

from gptel.

karthink avatar karthink commented on May 24, 2024

from gptel.

agzam avatar agzam commented on May 24, 2024

If you're up to it, could you find the curl output (from the cli) for this kind of error?

darn, I knew I needed to save it, and I honestly thought I did. But then I restarted Emacs and it's gone now. :(

But guess what?

image

from gptel.

minad avatar minad commented on May 24, 2024

@agzam How quickly did you reach this quota limit? I wonder how much regular usage of ChatGPT costs per month.

from gptel.

agzam avatar agzam commented on May 24, 2024

How quickly did you reach this quota limit?

I just tried the package without openai paid account. If you don't want to deal with the quota error right now, perhaps adding a note in the readme would be enough.

from gptel.

karthink avatar karthink commented on May 24, 2024

I'd like to handle this error, actually. I'm pretty sure ChatGPT's output above is wrong. The JSON should have the error field, but the rest of it looks incorrect. If you run into this error again, please evaluate the function from #10 and try again? That should give you the full response from the API.

from gptel.

agzam avatar agzam commented on May 24, 2024

I'm sorry I didn't save the output. To run into this error again, I have to either cut my credit card and wait for it to fail or I have to register a new account, but I got only one phone number to use. IIRC, it does need a proper phone number.

from gptel.

karthink avatar karthink commented on May 24, 2024

Oh, please don't bother with any of that! I only meant if you run into this error again, whenever that might be.

from gptel.

karthink avatar karthink commented on May 24, 2024

If you run into this error again, please set gptel--debug to t and try again. This should produce a buffer with the result of the API request.

from gptel.

karthink avatar karthink commented on May 24, 2024

Indicating useful errors is now fully implemented in gptel. Feel free to reopen if you get cryptic error messages again.

from gptel.

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.