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 op DeepSeek Auto-Retry

Recensie: Redelijk - het script werkt, maar bevat bugs

§
Geplaatst: 16-02-2025
Bijgewerkt: 16-02-2025

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.

StaninnaMaker
§
Geplaatst: 16-02-2025

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

Reactie plaatsen

Log in om antwoord te geven.