You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4dae3ec
Browse filesBrowse the repository at this point in the historyBrowse files
// The browser has nowhere to draw the prompt. Say what to do, not what
70
+
// went wrong inside.
71
+
if(/window/i.test(errorMessage(error))){
72
+
thrownewError(
73
+
`This browser cannot ask for permission to reach ${missing.map(host).join(', ')} from here. OpenRouter needs no extra permission, so it works on phones; the other providers need a desktop browser.`,
74
+
);
75
+
}
76
+
throwerror;
77
+
});
78
+
if(!granted)thrownewError('Permission to reach the provider was not granted.');
0 commit comments