mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix Poe client
This commit is contained in:
@ -377,7 +377,7 @@ class Client {
|
|||||||
if (!viewer.availableBots) {
|
if (!viewer.availableBots) {
|
||||||
throw new Error('Invalid token.');
|
throw new Error('Invalid token.');
|
||||||
}
|
}
|
||||||
const botList = viewer.viewerBotList;
|
const botList = viewer.availableBotsConnection.edges.map(x => x.node);
|
||||||
const retries = 2;
|
const retries = 2;
|
||||||
const bots = {};
|
const bots = {};
|
||||||
const promises = [];
|
const promises = [];
|
||||||
|
Reference in New Issue
Block a user