New Plugins endpoint not Working #533
-
With no plugins enabled the plugins endpoint still returns that I need to set my openAI API key. I have it set and the normal openAI endpoint works fine. Although, I'm not getting the 'error to authenticate this plugin', it lets me install the plugins fine. I did a little testing. I have the project setup on my raspberry pi (it allows me to use gpt at school cos its blocked :/ and I want to use browsing ect. I can also teach my friends how to properly use it lol, really sucks its blocked cos people need to learn this) The pi version returned the invalid API key error. I got gpt to write some python to validate my CSE and Google API key and it all works. I've tried setting it up locally on docker as well and that returns the same. Is there anything that could be causing this that would come to mind? I've got to say this project is amazing and I love all your work. :) The exact error is: Error: Failed to send message. HTTP 401 - { |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey, thanks so much! Glad it could help you! Are you setting your OPENAI_API_KEY in the .env file ? Do you mind sharing your env variables (withoutprivate credentials) ? I just tried it on a fresh install and I only have issues when it's actually not a valid API KEY Setting my OPEN_API_KEY works |
Beta Was this translation helpful? Give feedback.
-
yayyayayy it works nowwww. Just wondering, could you allow the token for plugins to be user set in the web interface? |
Beta Was this translation helpful? Give feedback.
I have the OpenAI Api key as "user provided" in the .env to allow for my mates to use it without using my key. I'll give it a test with my key in the env. I have just been setting it in the web interface.