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
MIT License
164.53k stars 43.66k forks source link

Limit Reached Error please help #6593

Closed ScootaDaBuddah closed 6 months ago

ScootaDaBuddah commented 7 months ago

⚠️ Search for existing issues first ⚠️

Which Operating System are you using?

MacOS

Which version of AutoGPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-3.5

Which area covers your issue best?

Installation and setup

Describe your issue.

I have a paid account with openAI with a 30$ limit but when ever I run autogpt since the update its been telling me my limit has been reach but on the website it says I have used nothing and I have purchase history to prove my account is paid also.

Upload Activity Log Content

./run setup kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] cp: .env.example: No such file or directory Please add your api keys to the .env file. Please set your OpenAI API key in .env or as an environment variable. You can get your key from https://platform.openai.com/account/api-keys If you do have the key, please enter your OpenAI API key now: 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 OpenAI API key successfully set! NOTE: The API key you've set is only temporary. For longer sessions, please set it in .env file [2023-12-19 18:42:09,582] [forge.sdk.db ] [DEBUG] 🐛 Initializing AgentDB with database_string: sqlite:///data/ap_server.db 2023-12-19 18:42:09,701 DEBUG Starting the agent server... 2023-12-19 18:42:09,719 INFO AutoGPT server starting on http://localhost:8000 2023-12-19 19:19:51,828 DEBUG Listing all tasks... [2023-12-19 19:19:51,831] [forge.sdk.db ] [DEBUG] 🐛 Listing tasks [2023-12-19 19:19:51,894] [forge.sdk.db ] [DEBUG] 🐛 Converting TaskModel to Task for task_id: 14c1a3cb-2029-43e1-b18d-3c604f117be5 2023-12-19 19:22:15,532 DEBUG Listing all steps created by task with ID: 14c1a3cb-2029-43e1-b18d-3c604f117be5... [2023-12-19 19:22:15,535] [forge.sdk.db ] [DEBUG] 🐛 Listing steps for task_id: 14c1a3cb-2029-43e1-b18d-3c604f117be5 2023-12-19 19:22:35,789 DEBUG Creating a step for task with ID: 14c1a3cb-2029-43e1-b18d-3c604f117be5... 2023-12-19 19:22:35,789 DEBUG Getting task with ID: 14c1a3cb-2029-43e1-b18d-3c604f117be5... [2023-12-19 19:22:35,790] [forge.sdk.db ] [DEBUG] 🐛 Getting task with task_id: 14c1a3cb-2029-43e1-b18d-3c604f117be5 [2023-12-19 19:22:35,800] [forge.sdk.db ] [DEBUG] 🐛 Converting TaskModel to Task for task_id: 14c1a3cb-2029-43e1-b18d-3c604f117be5 [2023-12-19 19:22:35,803] [forge.sdk.routes.agent_protocol] [ERROR]

Upload Error Log Content

2023-12-19 21:04:43,238 INFO message='OpenAI API response' path=https://api.openai.com/v1/chat/completions processing_ms=None request_id=9f65d37d29e5a40846cc02cf5f98fce5 response_code=429 2023-12-19 21:04:43,240 INFO error_code=insufficient_quota error_message='You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.' error_param=None error_type=insufficient_quota message='OpenAI API error received' stream_error=False 2023-12-19 21:04:43,241 DEBUG Error: Reached rate limit, passing... 2023-12-19 21:04:43,242 DEBUG Error: API Bad gateway. Waiting 512.0 seconds...

ScootaDaBuddah commented 7 months ago

got an email from Open Ai saying they closed my Key because I used it when setting up the autogpt that get put on the local host. does this mean that this program is now somehow leaking the api keys when a server is started and auto killing the keys? atleast in my case.

getting55 commented 6 months ago

收到一封来自 Open Ai 的电子邮件,说他们关闭了我的密钥,因为我在设置放在本地主机上的 autogpt 时使用了它。这是否意味着该程序现在在服务器启动时以某种方式泄漏 API 密钥并自动杀死密钥?至少在我的情况下。 这不是因为你组织没额度了吗?需要额度可以找我

Falimonda commented 6 months ago

got an email from Open Ai saying they closed my Key because I used it when setting up the autogpt that get put on the local host. does this mean that this program is now somehow leaking the api keys when a server is started and auto killing the keys? atleast in my case.

What is the stated reason that they deleted/deactivated your key? Have you tried creating a new one and re-running autogpt?

ScootaDaBuddah commented 6 months ago

got an email from Open Ai saying they closed my Key because I used it when setting up the autogpt that get put on the local host. does this mean that this program is now somehow leaking the api keys when a server is started and auto killing the keys? atleast in my case.

What is the stated reason that they deleted/deactivated your key? Have you tried creating a new one and re-running autogpt?

yes the reason was for it being leaked somehow and I only used it for auto. I tried with 2 different newly created api keys and both still don't not let me use auto, even when running in 3.5 only mode.

ScootaDaBuddah commented 6 months ago

收到一封来自 Open Ai 的电子邮件,说他们关闭了我的密钥,因为我在设置放在本地主机上的 autogpt 时使用了它。这是否意味着该程序现在在服务器启动时以某种方式泄漏 API 密钥并自动杀死密钥?至少在我的情况下。 这不是因为你组织没额度了吗?需要额度可以找我

你说的“配额”是什么意思?我有30美元的限额,这个网站没有说任何关于配额的事情。

getting55 commented 6 months ago

收到一封来自 Open Ai 的电子邮件,说他们关闭了我的密钥,因为我在设置放在本地主机上的 autogpt 时使用了它。这是否意味着该程序现在在服务器启动时以某种方式泄漏 API 密钥并自动杀死密钥?至少在我的情况下。 这不是因为你组织没额度了吗?需要额度可以找我

你说的“配额”是什么意思?我有30美元的限额,这个网站没有说任何关于配额的事情。 You've run out of credit

ScootaDaBuddah commented 6 months ago

ok I figured it out it was poetry it somehow removed itself from my plugins in OHMYZSH noticed it when I uninstalled and reinstalled every plugin. so it had nothing to do with the credits or "quotas" but my backup key was leaked when I setup my git in the .env so that may still be a problem. thank you all for the help