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

Unable to connect to OpenAI API #259

Open
Mat4Shell opened this issue Jan 5, 2025 · 0 comments
Open

Unable to connect to OpenAI API #259

Mat4Shell opened this issue Jan 5, 2025 · 0 comments

Comments

@Mat4Shell
Copy link

Mat4Shell commented Jan 5, 2025

Describe the bug
Hey everyone, I just try to install PentestGPT on my debian vm, adding a payment source to OpenAI API, add 5$ credit on my account, create my API Key, export it into my vm, export the API base URL, clone the repo, create a venv and install the requirements, and tghen execute pentestgpt-connection but I still have the message that my OpenAI API Key is not properly configured.
I'm a beginner on OpenAI so I don't know if I do something wrong or not :(

I try a request to https://api.openai.com/v1/models with my key and everything seems to be working well

To Reproduce
Steps to reproduce the behavior:

  1. Launch pentestgpt-connection

Screenshots
image
image
image
image
image

Version
I use the latest version of the repo

Thank you a lot in advance for your help !

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

1 participant