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
thank u for the code this should be fixed now :)
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.