DeepSeek Auto-Retry

Automatically click the retry button when DS message blocks show "The server is busy. Please try again later." or "Thought for 0 seconds". Uses a cooldown so that repeated clicks occur if the error persists.Automatically click the retry button when DS message blocks show error messages.

< Feedback on DeepSeek Auto-Retry

Review: OK - script works, but has bugs

§
Posted: 2025-02-16
Edited: 2025-02-16

change the findRetryButton to this:

function findRetryButton() {
const buttons = Array.from(document.querySelectorAll("div.ds-icon-button"));
for (let i = buttons.length - 1; i >= 0; i--) {
const btn = buttons[i];
if (btn.querySelector("svg rect#重新生成") !== null) {
return btn;
}
}
return null;
}

ps I used deepseek to fix it
it fixes it only retrying the first message.

StaninnaAuthor
§
Posted: 2025-02-16

thank u for the code this should be fixed now :)

Post reply

Sign in to post a reply.