-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Bug]: #1000
Comments
Sounds like the VSCode extension didn't pick up the fact that you're using your own key, and tries to use the (expired) trial key. You can verify if that's the case by going to Settings and checking whether it days "You're using your own key". If you haven't already, try closing vscode completely and restarting it, which should force the extension to re-check this. Please let me know if that works around the issue for you. |
I am having the same problem. Closing and re-opening VS Code did not resolve it, nor did disabling and enabling the extension again. |
@EyeSeeThru thanks for confirming. When you go to Pythagora Settings panel, does it say "You're using your own key" or "Your free trial has expired" ? |
Said expired, but I found info in the Discord that actually explains that there is a new config.json file replacing the .env file. Should update the info at: https://github.com/Pythagora-io/gpt-pilot/wiki/Using-GPT%E2%80%90Pilot-with-Local-LLMs#local-llm-routers |
Good callout, updated, with some extra info on how to tweak the prompts (we've made it easier now). |
Hi, you should update this too: https://github.com/Pythagora-io/gpt-pilot/wiki/Using-Pythagora-with-your-own-OpenAI-key |
Also you may give more details, like: At the top of config.json, you'll find:
For And for |
@livingstonlarus 👍 thanks for the prod, I dropped the ball on that one too; updated |
I ran into a similar issue where my OpenAI key wasn't being recognized. I removed the helpful comments that were in the config.json file, and then everything worked. |
Your answer saved me! THX |
Version
VisualStudio Code extension
Operating System
Ubuntu Linux
What happened?
Since the new update yesterday 0.2.3 we are getting below error. Even though the OpenAPI key is correctly updated in the config.json file, Pythagora is giving below error.
API check for openai failed with: [BricksLLM] key sk-bk********************************************** has been revoked
API check for openai failed with: [BricksLLM] key sk-bk********************************************** has been revoked
Pythagora cannot start because the LLM API is not reachable.
If i run python3 main.py on Terminal it works properly.
The text was updated successfully, but these errors were encountered: