Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin Error #1

Closed
ajk68 opened this issue Jun 6, 2022 · 4 comments
Closed

Plugin Error #1

ajk68 opened this issue Jun 6, 2022 · 4 comments

Comments

@ajk68
Copy link

ajk68 commented Jun 6, 2022

Thanks for the GPT3 plugin! Unfortunately, i'm consistently getting OpenAi Plugin Error with each /gpt3 request.

Screenshot 2022-06-06 at 10 17 52

I created a new api key specifically for this plugin and OpenAI shows it has been used, so looks like an authenticated request was sent by the plugin and received by openai.

The console doesn't show much else apart from a 400 error.
Screenshot 2022-06-06 at 10 17 33

Could you please help me find a solution?

@ajk68
Copy link
Author

ajk68 commented Jun 6, 2022

Just managed to get it working by running the local dev server. The moment i stop the vite server, i get the plugin error back. I assumed the packaged plugin would run standalone, and vite server was only needed for plugin developers.

@briansunter
Copy link
Owner

briansunter commented Jun 6, 2022

Are you installing this from the marketplace?

@ajk68 if possible would you mind checking the "network" tab while running the command and seeing what the error response from the /completions endpoint is? (dont share the key)

@ajk68
Copy link
Author

ajk68 commented Jun 7, 2022

After reinstalling the plugin, it now works completely fine! Don't know what was causing the problem, but obviously it works brilliantly now... Wish i had this while i was still in university :-)

Screenshot 2022-06-07 at 14 57 54

Thanks for your work on this plugin!

BTW: Are you planning to add a slashCommand or contextMenuItem for tl;dr? Thought i saw this in one of the screenshots. Might be interesting to come up with a few prompts that generally work well for summarizing, or asking questions about the text or coming up with related concepts. Would be interested in learning best practises for using GPT3 to assist thinking.

@briansunter
Copy link
Owner

Awesome @ajk68 glad it's working. Feel free to open another issue if you notice anything off.

I really appreciate the feedback and suggestions. I added some items to the product roadmap.

#8 is the top feature I'm working on
#12
#9

Closing this for now since it seems to be working for you, but feel free to open another issue if you encounter a bug or have an idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants