How To Fix AutoGPT Stuck On Thinking?

How To Fix AutoGPT Stuck On Thinking?

AutoGPT is an open-source application based on GPT-4 model that operates independently. Unlike other AI tools, you do not have to guide the model to meet your requirements, instead, you write your requirements, and AI does the rest.

Furthermore, users encounter AutoGPT Stuck on Thinking after providing their requirements, which can result from a bad API gateway, exceeding the rate limit and if the free trial ends.

Continue reading to know why AutoGPT is Stuck on Thinking and some ways to fix the issue in your device.

What Is AutoGPT?

AutoGPT is an experimental open-source application built on OpenAI’s GPT-4 model. It was released on 30th March 2023 that displays the exceptional capabilities of the GPT-4 language model. AutoGPT is an experimental open-source application built on OpenAI’s GPT-4 model.

Unlike ChatGPT, it has access to the internet and can do a web search to provide you with the information.

Furthermore, AutoGPT is an ideal tool for conducting market research, optimizing your business, debugging codes and generating test cases.

How Does AutoGPT Work?

AutoGPT works on the autonomous AI mechanism, creating different AI agents to complete specific tasks.

However, before going into the mechanism, users need to provide three inputs to the AI, which are:

  • AI Name (Project)
  • AI Role (Objectives)
  • Goals (Requirements)

Moreover, the image below shows how to provide input to the AutoGPT.

Providing prompt to AutoGPT
You can provide Project, Objectives and Requirements as a Prompt to AutoGPT. 

After those inputs, the autonomous mechanism creates different AI agents to complete the tasks.

1. Task Creation Agent

When you enter requirements or goals into AutoGPT, the task creation agent interacts with it.

Furthermore, it creates a list of tasks and ways to execute them and sends it to the prioritization agent.

2. Task Prioritization Agent

This AI agent receives the list of tasks from the task creation agent.

Therefore, it checks whether the sequence of tasks is correct and sends it to the execution agent.

3. Task Execution Agent

The task execution agent completes the tasks according to the priority list involving GPT-4, the internet and other tools.

Furthermore, the image below shows the working of the Autonomous AI Mechanism.

AutoGPT working mechanism
The Autonomous AI Mechanism Used in the AutoGPT. (Source: Writesonic)

Read on to learn how the ChatGPT model works and the similarities & differences between ChatGPT and Codex.

Why Is AutoGPT Stuck On Thinking?

Many users are encountering AutoGPT Stuck on Thinking issues while using AutoGPT.

AutoGPT stuck on Thinking
Users can encounter AutoGPT Stuck on Thinking at the end of the terminal after providing requirements. ( Source: GitHub)

This issue can result from many reasons, such as exceeding the rate limit, bad API gateway, end of free trial in AutoGPT, etc.

Furthermore, when tons of users try to access AutoGPT simultaneously, users can get a bad API gateway error resulting in AutoGPT being Stuck on Thinking.

In addition, users must pay subscription fees starting from $5.99 per 1,000 credits.

Therefore, you will most likely encounter the issue if you exceed the credits or the free trial ends.

How To Fix AutoGPT Stuck On Thinking?

You might get furious if AutoGPT gets Stuck Thinking even after the subscription fees you have provided to access the AI.

However, there are some ways to check the reason for that error and fix the error, which is mentioned below.

1. Use Python Command

If you are also Stuck as AutoGPT Stuck on Thinking, you can try the Python command “python -m autogpt –debug.”

This command will give you the potential errors to check and most likely the reason for the AutoGPT Stuck on Thinking issue.

AutoGPT stuck on thinking
You can check the errors in AutoGPT using Python code, and the result will be shown as in the image. (Source: GitHub)

Furthermore, this command will show errors like reached rate limit and API bad gateway, as in the above image.

2. Check Your Internet Connection

The AutoGPT has access to the internet and other tools which require a fast network connection.

Therefore, AutoGPT can sometimes get Stuck on Thinking when accessing with a slow internet speed.

You can check your network speed on and SpeedTest By Ookla.

Furthermore, if you have slow internet, try restarting your router and installing ISP(Internet Service Provider) with higher bandwidth.

Read on to learn how to work from home with slow internet and ways to fix slow internet after a power outage.

3. Add Payment Method

Another reason for the issue can be the exceeding of the credits and the end of the free trial in AutoGPT.

You must upgrade your account or extend your subscription by paying the fees accordingly.

Furthermore, go to the billing overview section of the OpenAI and set up a paid account or extend your subscription.

The billing procedure of OpenAI
You can add payment methods in the billing overview for using AutoGPT.

Therefore, try using AutoGPT after the billing procedure and see if the issue persists.

4. Wait For AutoGPT To Load

AutoGPT is getting more popular daily, and with many users trying to access it, it can sometimes provide slow responses to your prompts.

It would be best to wait patiently for a few minutes while AutoGPT processes the prompts and provides the contents.

Additionally, many users have reported encountering the same issue, which was gone after waiting for some minutes.

5. Create A New API Code

During the installation of the AutoGPT, users must provide the API key provided by OpenAI.

OpenAI states they can automatically rotate the API keys if the generated key is leaked publicly.

Therefore, you must create a new API key and replace it with the older one.

Some users report that creating a new API key has solved the issue in their devices.

The Bottom Line

Many users are facing the issue of AutoGPT Stuck on Thinking after prompting their requirements.

You can fix this issue by adding a payment method, waiting for AutoGPT to load, creating a new API key, etc.

Hopefully, this article will help you acknowledge the reasons for the issue and fix it.

Read on to learn the essential Character AI guidelines to consider and why Character AI is so slow.

Leave a comment