Let your DeepSeek automatically retry frees your hands
Two days ago, I also made two updates, writing about how to use the silicon-based flow API and the secret tower network search to call R1.
Although both experiences are very good, many people still think that the official version of DeepSeek is the best and want to use the official version. There is indeed nothing wrong with it.
But on the DeepSeek official side, the past two days are of course still very busy.
However, it may be that other platforms have allocated some firepower, which is a little better than during the Spring Festival holiday. In the past 50 times, I couldn't get an answer, but now I can still get a response from DeepSeek after rolling about a dozen times.
Sometimes I use it myself. Really, when I click the retry button, I almost poke my computer mouse and mobile phone screen.
It wasn't until noon yesterday when they were chatting in the group that I suddenly saw a sentence from a group friend in the group:
"Want to get a plug-in? If you encounter a failure, try again yourself."
This suddenly opened up new ideas for me...
Oh, shit, why don't I get this?
Isn't this the real user need? I asked in several other groups and found that there are still many people who really want one...
Then do it.
I directly open the programming AI that I think is the best to use, cursor.
Of course, the ideas are actually the same. Everything you use is the same. Trea, windsurf and so on.
In fact, it only took me less than ten minutes to create such a small script on the web side using AI.
Tell me how to use it.
This script is used in a computer browser, and the script is simple to use.
Download + drag it to the Oil Monkey Plug-in in Chrome and finish.
Here's why you need to use scripts instead of the common Chrome plug-ins. Simply, it's more worry-free. You don't have to worry about it after one installation, and it won't take up your precious plug-in quota, and it won't bother you.
Step 1: Install the Tampermonkey plugin
The website of Oil Monkey Plug-in is this:
https://www.tampermonkey.net/index.php
Just choose the browser you use from this pile. Chrome and Edge browsers can also be installed directly from the store; Firefox can be installed from the add-on market.
Step 2: Install the "Automatic retry" script into the oil monkey plug-in.
After installing the oil monkey plug-in, click the oil monkey plug-in icon in the browser, and the logo with two eyes will appear. Then select "Add New Script".
Click "Add New Script" to enter the New User Script page.<>
Then, drag the auto_retry.user.js file you downloaded over.
This installation interface will pop up. Just click the "Install" on the yellow border.
Step 3: Visit DeepSeek's official website and start the script.
There should be no one who doesn't know about DeepSeek's official website. But I will post it again: https://www.example.com
After the previous installation was successful, you can click on the oil monkey logo to confirm that the script is enabled. Then visit DeepSeek's official website. Just have "automatic retry" like this and it is turned on.
Step 4: Automatic operation.
You don't need to do any script installation operations, just send a message to DeepSeek directly in the dialog box.
If DeepSeek prompts "Server Busy", the script will automatically click the refresh button for you until the result rolls out, or the script confirms that the DS server lacks computing power.
This is how it works:
At this point, the job is complete...
Such a little thing is really useful.
Of course, if you want to try making one yourself, use cursor + to lose code knowledge, and you can also copy one. Also simple.
Here I will also talk about my mental journey and thoughts.
The principle of this script is actually very simple: when DeepSeek responds with the sentence "The server is busy, please try again later", it will ask the computer to imitate the person and click the "Regeneration" button.
So first, you need to find the correct element on the web page that can be detected when a loading bug occurs.
To make an automatic retry plug-in, you must first let it accurately find the real target on the page.
Like visiting a supermarket, we need to know which area and which shelf the things we want to buy are in. Webpages also have their shelves and labels. Each button, text box, picture, etc. is a specific element with fixed positions and characteristics.
In the DeepSeek scenario, we mainly need to find two key elements: the AI response area that displays "Server Busy" and the regenerated button.
Finding these elements is easy. Right-click at the corresponding position and select "Check" to see the specific code information of this element.
After clicking Check, a pile of code will appear on the right half of the page, where you can view all the elements in the page.
You can also click the "Select Element" button on the developer toolbar (the small icon with the dotted box and the arrow) to directly click on the content you want to find on the page.
That's pretty much the principle, and it's not complicated.
After finding the key elements you need, the plug-in knows which parts of the page to focus on and which button to click.
You can now start writing automatic retry code. I actually went through three versions of iteration myself.
延伸阅读:
暂无内容!