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

error OpenAi key #8068

Open
1 task done
wp-coin opened this issue Sep 16, 2024 · 4 comments
Open
1 task done

error OpenAi key #8068

wp-coin opened this issue Sep 16, 2024 · 4 comments

Comments

@wp-coin
Copy link

wp-coin commented Sep 16, 2024

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Windows

Which version of AutoGPT are you using?

Latest Release

What LLM Provider do you use?

Other (detail in issue)

Which area covers your issue best?

Installation and setup

What commit or version are you using?

0.5.1

Describe your issue.

I get an error when installing and runing on docker (docker compose run --rm auto-gpt serve )

ERROR Invalid OpenAI API key! Please set your OpenAI API key in .env or as an environment variable.

my new openai key does not start with sk-proj-

Upload Activity Log Content

2024-09-16 23:04:32,981 ERROR config.py:329 Invalid OpenAI API key! Please set your OpenAI API key in .env or as an environment variable.
2024-09-16 23:10:00,502 ERROR config.py:329 Invalid OpenAI API key! Please set your OpenAI API key in .env or as an environment variable.

Upload Error Log Content

Path /benchmark for agbenchmark does not exist
plugins_config.yaml does not exist, creating base config.
2024-09-16 23:10:00,502 ERROR Invalid OpenAI API key! Please set your OpenAI API key in .env or as an environment variable.
2024-09-16 23:10:00,504 INFO You can get your key from https://platform.openai.com/account/api-keys

@wp-coin
Copy link
Author

wp-coin commented Sep 17, 2024

is this being fixed? I cannot use the new api key in openAi...

@ntindle
Copy link
Member

ntindle commented Sep 26, 2024

Does the old keys work for you?

@wp-coin
Copy link
Author

wp-coin commented Sep 28, 2024

yes

@jkpjkpjkp
Copy link

same issue, working api key responded by 'Invalid OpenAI API key'

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

3 participants