Open Goldenschmidt opened 1 year ago
It works when you download the source. The releases don't have the fix (I tested 1.9.7) and that has the same problem that you describe.
Did you update your repository? From what I see, you have an older version of the integration.
Just tried again with a completely clean pull of the Main branch. It still gives me the error.
BOTNAME DURING INITIALIZING: gptforst Error [TypeError]: Cannot read properties of null (reading 'parentElement') at evaluate (evaluate at PoeClient.initializeDriver (D:\Users####\Documents\AIstuff\SillyTavern-fix\src\poe-client.js:125:25),
:2:22) at #evaluate (D:\Users####\Documents\AIstuff\SillyTavern-fix\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:229:55) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ExecutionContext.evaluate (D:\Users####\Documents\AIstuff\SillyTavern-fix\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\ExecutionContext.js:126:16) at async IsolatedWorld.evaluate (D:\Users####\Documents\AIstuff\SillyTavern-fix\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\IsolatedWorld.js:129:16) at async CdpFrame.evaluate (D:\Users####\Documents\AIstuff\SillyTavern-fix\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Frame.js:370:20) at async CdpPage.evaluate (D:\Users####\Documents\AIstuff\SillyTavern-fix\node_modules\puppeteer-core\lib\cjs\puppeteer\api\Page.js:872:20) at async PoeClient.initializeDriver (D:\Users####\Documents\AIstuff\SillyTavern-fix\src\poe-client.js:125:9) at async getPoeClient (D:\Users####\Documents\AIstuff\SillyTavern-fix\server.js:2613:39) at async D:\Users####\Documents\AIstuff\SillyTavern-fix\server.js:2642:24
Have you searched for similar bugs? Yes. But none are of SillyTavern-fix, nor of recent days.
Describe the bug Trying to connect to Poe through SillyTavern-fix, and ensuring that the API key is correct, gives me the error "Invalid or expired token". However, the Chrome browser that opens does show Poe.com as open and ready for prompts. Checking the console, there appears to be an error. (See Screenshot below)
To Reproduce Steps to reproduce the behavior:
Expected behavior Expected SillyTavern to connect and be ready to send and receive prompts.
Screenshots
Logs
'Providing the logs from the browser DevTools console (opened by pressing the F12 key) or SillyTavern command line window will be highly appreciated.' ← Don't know what this implies, but have the stuff from the command prompt:
Desktop (please complete the following information):