How to Fix “Could Not Extract Reply In 5 Attempts Try Generating Again” on Silly Tavern AI

Silly Tavern AI is an advanced chatbox application that allows you to chat with virtual characters or the ones created by you.

You can use the Silly Tavern AI application on your computer and Android devices too because of its simple user interface.

However, many users have reported that they are facing an error on Silly Tavern AI that says “Could not extract reply in 5 attempts. Try generating again”.

It usually appears when you are in conversation with the character but it does not respond.

This article will discuss what causes “Could not extract reply in 5 attempts. Try generating again” on Silly Tavern and how can you fix it.

What Causes “Could Not Extract Reply In 5 Attempts Try Generating Again” On Silly Tavern?

You get the error message “Could not extract reply in 5 attempts. Try generating again” when you are in conversation with the character but it fails to respond.

It happens because Node.js is not updated to the version of Node.js 18 with Long Term Support (LTS).

Node JS is an open-source platform which allows developers to create applications like Silly Tavern using JavaScript and you need to have it on your PC to install Silly Tavern.

How to Fix “Could Not Extract Reply In 5 Attempts Try Generating Again” on Silly Tavern AI

1. Update Node to Node.js 18 LTS

To resolve the issue of “Could not extract reply in 5 attempts. Try generating again” you need to update Node to Node.js 18 (LTS).

Node.js 18 with LTS works for most users and improves performance and provides better stability.

Also Read:  How to Fix "Invalid Or Expired Token' on Silly Tavern AI

To update Node on Mac and Windows, the steps are mentioned below. You can update Node using the package manager like NPM or manually download and install it.

By Using NPM

  • Check the node version by opening the Terminal and typing the prompt: node -v
  • Type the command npm install -g n to install a tool “n” that will be used to update Node.
  • Now type the command n latest to install the latest version of Node on your system.
  • After installation, you can check the Node version by typing the prompt: node -v

Alternatively, you can manually download the Node.js 18 LTS and then install it in your system.

To update Node on Linux, the steps are mentioned below. You can update Node using the package manager like NVM or APT.

By Using NVM

NVM is a Node Version Manager that lets you manage multiple versions of Node. You can also use it to install, update or switch to different versions of the Node.

  • If you have NVM installed then type the command nvm –version to check the version.
  • If you have not installed NVM then type the command curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash to install it.
  • After you install NVM, type the command node -v to check the version of Node.
  • To update to the latest version, type the command nvm install node –reinstall-packages-from=node.
  • After installation, you can check the Node version by typing the prompt: node -v

By Using APT

APT is an Advanced Package Tool which is a package manager for Debian-based Linux such as Ubuntu and Debian.

  • Check the node version by opening the Terminal and typing the prompt: node -v
  • To update to the latest version of Node, type sudo apt-get install nodejs
  • After installation, you can check the Node version by typing the prompt: node -v

2. Switch API Model In Silly Tavern

If you have updated and required version of Node.js then another way to resolve the issue of “Could not extract reply in 5 attempts. Try generating again” is to switch the model from what you are currently using in conversation to a different one.

Also Read:  How to Fix Silly Tavern AI Not Working Or Not Responding

Silly Tavern offers multiple LLM APIs (Application Programming Interfaces) to connect with various AI models.

If you are a novice then you can select Poe as your API which offers OpenAI’s GPT-3.5-turbo model for free and subscription-based users have access to Open AI API.

Similarly, there are various options for APIs which include Local APIs such as Kobold AI, KoboldCPP, Kobold Horde and Oobabooga TextGeneration WebUI.

Cloud LLM APIs include Novel AI, ChatGPT (by OpenAI), Claude (by Anthropic) and WindowAI/Open Router.

You have multiple API options available, each with its own distinct features.

If you receive an error message that says “Could not extract reply in 5 attempts. Try generating again”, you have the option to switch to a different API model.

Photo of author

Megha

Megha, our expert writer who excels in creating comprehensive how-to guides and troubleshooting articles for social media apps. With her extensive knowledge and experience in the field, she has mastered the art of simplifying complex How-To concepts and providing effective solutions to common errors.