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.

< Σχολιασμός για τον κώδικα DeepSeek Auto-Retry

Αναφορά: Εντάξει - ο κώδικας λειτουργεί αλλά έχει σφάλματα

§
Δημοσιεύτηκε: 16/02/2025
Επεξεργάστηκε: 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.

StaninnaΔημιουργός
§
Δημοσιεύτηκε: 16/02/2025

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

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.