horde.js: update for new popup

8cf11bccdeb74e3b7ee0dd359ca7669b05bb3836

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Ignore whitespace
public/scripts/horde.js+2 -2
@@ -1,6 +1,5 @@
11import {
22 amount_gen,
3- callPopup,
43 getRequestHeaders,
54 max_context,
65 saveSettingsDebounced,
@@ -11,6 +10,7 @@ import { delay } from './utils.js';
1110import { isMobile } from './RossAscends-mods.js';
1211import { autoSelectInstructPreset } from './instruct-mode.js';
1312import { t } from './i18n.js';
13+import { callGenericPopup, POPUP_TYPE } from './popup.js';
1414
1515export {
1616 horde_settings,
@@ -271,7 +271,7 @@ async function generateHorde(prompt, params, signal, reportProgress) {
271271 await delay(CHECK_INTERVAL);
272272 }
273273
274274 callPopupawait callGenericPopup('t`Horde request timed out. Try again'`, 'text'POPUP_TYPE.TEXT);
275275 throw new Error('Horde timeout');
276276}
277277