Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
https://agpt.co
Other
168.42k stars 44.42k forks source link

OpenAI Authentication error #4145

Closed sponi78 closed 1 year ago

sponi78 commented 1 year ago

⚠️ Search for existing issues first ⚠️

Which Operating System are you using?

Windows

Which version of Auto-GPT are you using?

Stable (branch)

GPT-3 or GPT-4?

GPT-3.5

Steps to reproduce 🕹

Updated and started a new prompt/goal

AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 682, in _interpret_response_line raise self.handle_error_response( openai.error.AuthenticationError: Press any key to continue . . .

I have checked API-key, it's correct.

Current behavior 😯

same

Expected behavior 🤔

auto-gpt should not stop

Your prompt 📝

Welcome back! Would you like me to return to being Aindreas? Asking user via keyboard... Continue with the last settings? Name: Aindreas Role: an email client Goals: ['write email to XXXX and intrdouce yourself'] API Budget: $0.2 Continue (y/n): y

Your Logs 📒

--------------------
2023-05-12 22:31:20,988 INFO  autogpt-api-tools: 0.1.0 - Allow AutoGPT to make API calls to outside services.
2023-05-12 22:31:20,988 INFO  Auto-GPT-Space-Plugin: 0.1.3 - Auto-GPT Space Plugin: Get the number of astronauts in space in real-time..
2023-05-12 22:31:20,988 INFO  Baidu-Search-Plugin: 0.1.0 - This plugin performs Baidu searches using the provided query.
2023-05-12 22:31:20,988 INFO  Bing-Search-Plugin: 0.1.0 - This plugin performs Bing searches using the provided query.
2023-05-12 22:31:20,988 INFO  autogpt-bluesky: 0.1.0 - Bluesky integration using atprototools.
2023-05-12 22:31:20,988 INFO  Auto-GPT-Email-Plugin: 0.1.3 - Auto-GPT Email Plugin: Supercharge email management.
2023-05-12 22:31:20,988 INFO  News-Search-Plugin: 0.1.0 - This plugin searches the latest news using the provided query and the newsapi aggregator
2023-05-12 22:31:20,988 INFO  autogpt-random-values: 0.1.0 - Enable Auto-GPT with the power of random values.
2023-05-12 22:31:20,988 INFO  Auto-GPT-Scenex-Plugin: 0.0.1 - Auto-GPT Scenex Plugin: Describe any image by URL.
2023-05-12 22:31:20,988 INFO  autogpt-twitter: 0.1.0 - Twitter API integrations using Tweepy.
2023-05-12 22:31:20,988 INFO  autogpt-wikipedia-search: 0.1.0 - Wikipedia search integrations.
2023-05-12 22:31:21,098 INFO Welcome back!  Would you like me to return to being io?
2023-05-12 22:31:21,430 INFO  Asking user via keyboard...
2023-05-12 22:31:23,894 INFO Welcome to Auto-GPT!  run with '--help' for more information.
2023-05-12 22:31:24,180 INFO Create an AI-Assistant: input '--manual' to enter manual mode.
2023-05-12 22:31:24,454 INFO  Asking user via keyboard...
2023-05-12 22:31:32,444 INFO Manual Mode Selected 
2023-05-12 22:31:32,554 INFO Create an AI-Assistant: Enter the name of your AI and its role below. Entering nothing will load defaults.
2023-05-12 22:31:32,972 INFO Name your AI:  For example, 'Entrepreneur-GPT'
2023-05-12 22:31:33,197 INFO  Asking user via keyboard...
2023-05-12 22:32:18,265 INFO Aindreas here! I am at your service.
2023-05-12 22:32:18,528 INFO Describe your AI's role:  For example, 'an AI designed to autonomously develop and run businesses with the sole goal of increasing your net worth.'
2023-05-12 22:32:18,965 INFO  Asking user via keyboard...
2023-05-12 22:32:26,513 INFO Enter up to 5 goals for your AI:  For example: 
Increase net worth, Grow Twitter Account, Develop and manage multiple businesses autonomously'
2023-05-12 22:32:26,957 INFO  Enter nothing to load defaults, enter nothing when finished.
2023-05-12 22:32:26,957 INFO  Asking user via keyboard...
2023-05-12 22:32:49,577 INFO  Asking user via keyboard...
2023-05-12 22:32:50,696 INFO Enter your budget for API calls:  For example: $1.50
2023-05-12 22:32:50,972 INFO  Enter nothing to let the AI run without monetary limit
2023-05-12 22:32:50,972 INFO  Asking user via keyboard...
2023-05-12 22:33:00,488 INFO Aindreas has been created with the following details:
2023-05-12 22:33:00,725 INFO Name: Aindreas
2023-05-12 22:33:00,807 INFO Role: an email client
2023-05-12 22:33:00,945 INFO Goals: 
2023-05-12 22:33:00,992 INFO - write email to and.knaup@gmail.com and intrdouce yourself
2023-05-12 22:33:01,182 INFO Using memory of type: LocalCache
2023-05-12 22:33:01,368 INFO Using Browser: chrome
2023-05-12 22:33:34,577 INFO NEWS: Welcome to Auto-GPT!
2023-05-12 22:33:34,577 INFO NEWS: Below you'll find the latest Auto-GPT News and updates regarding features!
2023-05-12 22:33:34,577 INFO NEWS: If you don't wish to see this message, you can run Auto-GPT with the --skip-news flag.
2023-05-12 22:33:34,593 INFO NEWS: 
2023-05-12 22:33:34,593 INFO NEWS: Website and Documentation Site 📰📖
2023-05-12 22:33:34,593 INFO NEWS: Check out https://agpt.co, the official news & updates site for Auto-GPT!
2023-05-12 22:33:34,593 INFO NEWS: The documentation also has a place here, at https://docs.agpt.co
2023-05-12 22:33:34,593 INFO NEWS: 
2023-05-12 22:33:34,593 INFO NEWS: 🚀 v0.3.0 Release 🚀
2023-05-12 22:33:34,593 INFO NEWS: Over a week and 275 pull requests have passed since v0.2.2, and we are happy to announce
2023-05-12 22:33:34,593 INFO NEWS: the release of v0.3.0! From now on, we will be focusing on major improvements rather
2023-05-12 22:33:34,593 INFO NEWS: than bugfixes, as we feel stability has reached a reasonable level. Most remaining
2023-05-12 22:33:34,593 INFO NEWS: issues relate to limitations in prompt generation and the memory system, which will be
2023-05-12 22:33:34,593 INFO NEWS: the focus of our efforts for the next release.
2023-05-12 22:33:34,593 INFO NEWS: 
2023-05-12 22:33:34,593 INFO NEWS: Highlights and notable changes in this release:
2023-05-12 22:33:34,593 INFO NEWS: 
2023-05-12 22:33:34,593 INFO NEWS: Plugin support 🔌
2023-05-12 22:33:34,593 INFO NEWS: Auto-GPT now has support for plugins! With plugins, you can extend Auto-GPT's abilities,
2023-05-12 22:33:34,593 INFO NEWS: adding support for third-party services and more.
2023-05-12 22:33:34,593 INFO NEWS: See https://github.com/Significant-Gravitas/Auto-GPT-Plugins for instructions and available plugins.
2023-05-12 22:33:34,593 INFO NEWS: 
2023-05-12 22:33:34,593 INFO NEWS: Changes to Docker configuration 🐋
2023-05-12 22:33:34,593 INFO NEWS: The workdir has been changed from /home/appuser to /app.
2023-05-12 22:33:34,593 INFO NEWS: Be sure to update any volume mounts accordingly!
2023-05-12 22:33:34,593 INFO NEWS: 
2023-05-12 22:33:34,593 INFO NEWS: ⚠️ Command `send_tweet` is DEPRECATED, and will be removed in v0.4.0 ⚠️
2023-05-12 22:33:34,593 INFO NEWS: Twitter functionality (and more) is now covered by plugins, see [Plugin support 🔌]
2023-05-12 22:33:34,593 INFO NEWS: 
2023-05-12 22:35:25,377 INFO  
Plugins found: 6
--------------------
2023-05-12 22:35:25,392 INFO  autogpt-api-tools: 0.1.0 - Allow AutoGPT to make API calls to outside services.
2023-05-12 22:35:25,392 INFO  Auto-GPT-Email-Plugin: 0.1.3 - Auto-GPT Email Plugin: Supercharge email management.
2023-05-12 22:35:25,392 INFO  News-Search-Plugin: 0.1.0 - This plugin searches the latest news using the provided query and the newsapi aggregator
2023-05-12 22:35:25,392 INFO  autogpt-random-values: 0.1.0 - Enable Auto-GPT with the power of random values.
2023-05-12 22:35:25,392 INFO  autogpt-twitter: 0.1.0 - Twitter API integrations using Tweepy.
2023-05-12 22:35:25,392 INFO  autogpt-wikipedia-search: 0.1.0 - Wikipedia search integrations.
2023-05-12 22:35:25,489 INFO Welcome back!  Would you like me to return to being Aindreas?
2023-05-12 22:35:25,773 INFO  Asking user via keyboard...
2023-05-12 22:35:28,224 INFO Aindreas has been created with the following details:
2023-05-12 22:35:28,471 INFO Name: Aindreas
2023-05-12 22:35:28,523 INFO Role: an email client
2023-05-12 22:35:28,656 INFO Goals: 
2023-05-12 22:35:28,700 INFO - write email to and.knaup@gmail.com and intrdouce yourself
2023-05-12 22:35:28,895 INFO Using memory of type: LocalCache
2023-05-12 22:35:29,088 INFO Using Browser: chrome
2023-05-12 22:44:02,339 INFO NEWS: Welcome to Auto-GPT!
2023-05-12 22:44:02,339 INFO NEWS: Below you'll find the latest Auto-GPT News and updates regarding features!
2023-05-12 22:44:02,339 INFO NEWS: If you don't wish to see this message, you can run Auto-GPT with the --skip-news flag.
2023-05-12 22:44:02,339 INFO NEWS: 
2023-05-12 22:44:02,339 INFO NEWS: Website and Documentation Site 📰📖
2023-05-12 22:44:02,339 INFO NEWS: Check out https://agpt.co, the official news & updates site for Auto-GPT!
2023-05-12 22:44:02,339 INFO NEWS: The documentation also has a place here, at https://docs.agpt.co
2023-05-12 22:44:02,339 INFO NEWS: 
2023-05-12 22:44:02,339 INFO NEWS: 🚀 v0.3.0 Release 🚀
2023-05-12 22:44:02,339 INFO NEWS: Over a week and 275 pull requests have passed since v0.2.2, and we are happy to announce
2023-05-12 22:44:02,339 INFO NEWS: the release of v0.3.0! From now on, we will be focusing on major improvements rather
2023-05-12 22:44:02,339 INFO NEWS: than bugfixes, as we feel stability has reached a reasonable level. Most remaining
2023-05-12 22:44:02,339 INFO NEWS: issues relate to limitations in prompt generation and the memory system, which will be
2023-05-12 22:44:02,339 INFO NEWS: the focus of our efforts for the next release.
2023-05-12 22:44:02,339 INFO NEWS: 
2023-05-12 22:44:02,339 INFO NEWS: Highlights and notable changes in this release:
2023-05-12 22:44:02,339 INFO NEWS: 
2023-05-12 22:44:02,339 INFO NEWS: Plugin support 🔌
2023-05-12 22:44:02,339 INFO NEWS: Auto-GPT now has support for plugins! With plugins, you can extend Auto-GPT's abilities,
2023-05-12 22:44:02,339 INFO NEWS: adding support for third-party services and more.
2023-05-12 22:44:02,339 INFO NEWS: See https://github.com/Significant-Gravitas/Auto-GPT-Plugins for instructions and available plugins.
2023-05-12 22:44:02,339 INFO NEWS: 
2023-05-12 22:44:02,339 INFO NEWS: Changes to Docker configuration 🐋
2023-05-12 22:44:02,339 INFO NEWS: The workdir has been changed from /home/appuser to /app.
2023-05-12 22:44:02,339 INFO NEWS: Be sure to update any volume mounts accordingly!
2023-05-12 22:44:02,339 INFO NEWS: 
2023-05-12 22:44:02,339 INFO NEWS: ⚠️ Command `send_tweet` is DEPRECATED, and will be removed in v0.4.0 ⚠️
2023-05-12 22:44:02,339 INFO NEWS: Twitter functionality (and more) is now covered by plugins, see [Plugin support 🔌]
2023-05-12 22:44:02,339 INFO NEWS: 
2023-05-12 22:44:07,491 INFO  
Plugins found: 6
--------------------
2023-05-12 22:44:07,491 INFO  autogpt-api-tools: 0.1.0 - Allow AutoGPT to make API calls to outside services.
2023-05-12 22:44:07,491 INFO  Auto-GPT-Email-Plugin: 0.1.3 - Auto-GPT Email Plugin: Supercharge email management.
2023-05-12 22:44:07,491 INFO  News-Search-Plugin: 0.1.0 - This plugin searches the latest news using the provided query and the newsapi aggregator
2023-05-12 22:44:07,491 INFO  autogpt-random-values: 0.1.0 - Enable Auto-GPT with the power of random values.
2023-05-12 22:44:07,491 INFO  autogpt-twitter: 0.1.0 - Twitter API integrations using Tweepy.
2023-05-12 22:44:07,491 INFO  autogpt-wikipedia-search: 0.1.0 - Wikipedia search integrations.
2023-05-12 22:44:07,601 INFO Welcome back!  Would you like me to return to being Aindreas?
2023-05-12 22:44:07,896 INFO  Asking user via keyboard...
2023-05-12 22:44:12,832 INFO Aindreas has been created with the following details:
2023-05-12 22:44:13,065 INFO Name: Aindreas
2023-05-12 22:44:13,154 INFO Role: an email client
2023-05-12 22:44:13,296 INFO Goals: 
2023-05-12 22:44:13,347 INFO - write email to and.knaup@gmail.com and intrdouce yourself
2023-05-12 22:44:13,597 INFO Using memory of type: LocalCache
2023-05-12 22:44:13,781 INFO Using Browser: chrome
ContiuneV commented 1 year ago

+1

Espejo531 commented 1 year ago

I also have this problem, is it because I am a chatgpt free account?

ju350z commented 1 year ago

guys i have the same error and also have this other " you are running on "master" branch - this is not a supported branch " please let me know how fix that, im using w11 and also use gpt4

bfalans commented 1 year ago

This error is received when no valid (paid) openAI API key has been given to auto-gpt. Make sure you have added a valid payment method on "platform.openai.com", your bills for openAI are payed and you have set your key in the .env file

sponi78 commented 1 year ago

I have a valid API Key in NY env file

bfalans commented 1 year ago

Is this a constant issue or what was the GMT time when this happened and is it still occurring?

edenraf commented 1 year ago

Still a problem for me, at least

Qoyyuum commented 1 year ago

@sponi78 can you regenerate your key and try again?

rossmon commented 1 year ago

+1

github-actions[bot] commented 1 year ago

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] commented 1 year ago

This issue was closed automatically because it has been stale for 10 days with no activity.