Giter Site home page Giter Site logo

Error API Key about moodlegpt HOT 6 CLOSED

yoannchb-pro avatar yoannchb-pro commented on May 30, 2024
Error API Key

from moodlegpt.

Comments (6)

yoannchb-pro avatar yoannchb-pro commented on May 30, 2024

Hello, did you provide your api key into the extension (it's a mandatory field) ? Also ensure to save you configuration every time you modify the configuration into the extension and to reload the page.
If you need more help please send some screen of the extension too.

from moodlegpt.

GiovanniFilomeno avatar GiovanniFilomeno commented on May 30, 2024

Hi,
thanks for your reply.
Yes, I tried both the master and the dev repository. With the master, the code is not able to access the API request at all and I see that because in the model it appears "unknown" and the OpenAI API page it appears as "never" used.
On the contrary, with the dev repository, the code is able to send the API request (I see that in the OpenAI API page) and I am able to "see" the models.
However, when trying the test, it does not work (yes I activate it, yes I can click on the question)

from moodlegpt.

yoannchb-pro avatar yoannchb-pro commented on May 30, 2024

Could you provide some screen of your console pelase when you click on a question ?

from moodlegpt.

yoannchb-pro avatar yoannchb-pro commented on May 30, 2024

Btw don't use the dev version for the moment because I'm currently working back on the extension since today and I have stuff to fixe

from moodlegpt.

GiovanniFilomeno avatar GiovanniFilomeno commented on May 30, 2024
Bildschirmfoto 2024-02-29 um 21 49 26

from moodlegpt.

yoannchb-pro avatar yoannchb-pro commented on May 30, 2024

Seems like the error is not from the extension but from your openai api key:
https://help.openai.com/en/articles/6891767-error-code-401-invalid-authentication

from moodlegpt.

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.